Update a container service definition
Update the service configuration. Changes take effect on next deploy. Cannot update while the service is in deploying/stopping state.
Documentation Index
Fetch the complete documentation index at: https://docs.cyberun.cloud/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
User session JWT (Bearer ). Must be paired with the X-Team-ID
request header on team-scoped endpoints so the server knows which
team's resources to operate on.
Headers
UUID of the team to scope the request to. Used by dual-auth endpoints (runtime + scoped management):
- JWT callers MUST send it — a user may belong to multiple teams and the runtime cannot otherwise know which one to operate on. Missing header → 400.
- Credential callers (
sk-,dk-) can omit it because the team is derived from the credential row itself. Any value sent is ignored.
"019abc12-4567-7890-abcd-ef1234567891"
Path Parameters
Body
2551 <= x <= 65535GPU count: -1=all GPUs, 0=none, N=specific count
1 <= x <= 10Optional AI-facing description. See ContainerServiceCreateRequest.
Optional path served by the container with an OpenAPI document. See ContainerServiceCreateRequest.
500Only valid on rows whose service_type is already external. The
service_type cannot be changed after creation.
2048^https://Only valid on external services. Send a UUID to attach a new credential reference; omit (or send null — the server treats them the same in v1) to leave the existing reference unchanged.
Clearing a previously-set reference via API is not supported in v1: the server cannot distinguish omitted from explicit-null in the request body, so it conservatively defaults to "leave alone". To remove an attached credential, delete and recreate the service. A tristate request shape (omitted / null / value) is filed for a future revision if real demand appears.
Response
Service updated
UUID of the created or updated resource.
"019abc12-3456-7890-abcd-ef1234567890"
