API reference
Modify instance
Modify a running compute instance's resources The optional mode field is retained for legacy compatibility. If supplied, routing is derived from the requested or existing GPU count, not the mode value. New integrations should omit mode and configure resources using GPU type, GPU count, CPU, and storage.
View MarkdownPOST/instances/{id}/modify
Modify a running compute instance's resources
The optional mode field is retained for legacy compatibility. If supplied, routing is derived from the requested or existing GPU count, not the mode value. New integrations should omit mode and configure resources using GPU type, GPU count, CPU, and storage.
Parameters
id · path- Instance ID (index)
Request body
application/json
Responses
200 · OK
400 · Bad Request
401 · Unauthorized
404 · Not Found
409 · The change would exceed one of the organization's quotas
500 · Internal Server Error
503 · The organization's quotas could not be checked, or concurrent changes kept the request from committing; retry
Operation specification
The downloadable Markdown includes the published OpenAPI schema. Use the API origin provided by your compute account.