Skip to content

subscription_label_edit

← MCP reference
View in MCP reference →
TOOL subscription_label_edit

Change only the display name of one Port OS event subscription by exact ID.

Use a PLAIN name-value object. The event, endpoint, filter and destination are immutable; to change what is watched, establish a replacement monitor and cancel the old ID.

Required scope

subscription:write

Input

Fields

idstringRequired

Exact subscription ID returned by subscription_list. Never use a display name or endpoint ID.

maxLength: 2048

minLength: 1

pattern: "\\S"

nameobjectRequired

Result

Fields

catalogNamestringRequired
endpointIdstringRequired
expiresAtstring | nullRequired

format: "date-time"

generationintegerRequired
idstringRequired
nameobjectRequired
queryobjectRequired
reasonCodestring
revisionintegerRequired
statusstringRequired

Errors

A failed call returns this error object as its result instead.

Fields

familystringRequired

The broad class of an error. The family decides the HTTP status of a REST error, so clients can handle every code of a family alike.

codestringRequired

The specific error, one of a closed set of Port OS codes. Every REST error body, MCP tool error, batch item error and discovery item error uses this enum; each code belongs to an `ErrorFamily` that decides its HTTP status. Provider-specific codes are never codes: they travel in `details.providerCode`. New failure kinds are added here, never as free strings.

messagestringRequired

Plain-language description of the failure and the suggested next action.

detailsErrorDetails

Optional typed context for an error. Fields are additive and only populated when the error can safely expose that context to API clients.

errorsarray<SynchronizationItemError>

Every rejected item when a request that is validated item by item and applied atomically fails, such as a discovery `SynchronizationRequest` whose routes, group routes or relationships are rejected. Omitted for single-item failures.