| Field | Type | Required | Description |
|---|---|---|---|
projectReference | String! | Yes | Project that owns the service, by ID or slug. Only a project service of this project is found; a global service answers not_found. For a managed source connection, project.runtime.manage in the source project is also accepted when setting drained. |
serviceId | ID! | Yes | Runtime service to change. Draining stops selection for new work and, for managed source connections, revokes queued and child dispatch; either project may revoke. Resuming re-enables selection; managed source connections require project.runtime.manage in both projects. |
availability | String! | Yes | active 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. |