Update runtime service

http
PATCH /agent-runtimes/push-services/{service_id}

Drain or resume a runtime service.

Parameters

NameInRequiredDescription
service_idpathYesRuntime service identifier.

Request body

FieldTypeRequiredDescription
availabilitystringYesactive makes the runtime service available for selection; drained stops selecting it for new work. For a managed source connection, drained also revokes queued and child dispatch.

Responses

StatusDescription
200The runtime service after the change. service is the registration envelope: its status is active for availability active and disabled for availability drained.
400Bad request
401Unauthorized
403The caller cannot manage the service’s scope. Setting active on a managed source connection needs project.runtime.manage in both the destination and the source project.
404Not found
500Server error
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.