Skip to content

Update Service

PATCH/v1/services/{service_id}

Compare-and-set update. Only name, description, agent_id, agent_version, input, and row_version are accepted; explicit null returns 400. Changing agent_id without agent_version pins that Agent's current version.

Path parameters

stringservice_idrequired

Service ID (svc_ prefix).

Request body

row_version plus any subset.

integerrow_versionrequired

The row_version you last read. A stale value returns 409.

Optional<string>name

Up to 200 characters.

Optional<string>description

Up to 16384 characters.

Optional<string>agent_id

Rebind to another Agent.

Optional<integer>agent_version

Pin a different version.

Optional<string>input

New default input.