Update a resource
Upgrades or modifies a compute resource’s plan or components. Changes may require payment confirmation. Moving down to a free plan requires a saved payment card, and one free resource per card - without one the request is rejected with 422. When this is the workspace’s first paid change and the target is plan ‘miget_hobby_5’ with no components, an account that has never paid gets a 30-day free trial: the returned checkout charges nothing until it ends, and it needs a saved payment card the same way, one trial per card.
Authorizations
Bearer token for authentication. Format: 'Bearer {token}'
Headers
Workspace ID (uses default workspace if not provided)
Path Parameters
Resource UUID
Body
Response
Update a resource
Api_V1_Entities_Resource model
Unique resource identifier
Resource name
Current state
User-defined labels for identification
Total disk capacity in bytes
Total RAM capacity in bytes
Total CPU capacity in cores
Used disk in bytes
Used RAM in bytes
Used CPU in cores
Available CPU in cores
Available disk in bytes
Available RAM in bytes
Whether this resource is assigned to any project at all. When true, only the projects listed in project_ids may deploy on it. When false, nobody has assigned it and any project may.
UUIDs of the projects this resource is assigned to, limited to the projects you can access. A resource assigned solely to projects you cannot access is not returned to you at all.
Creation timestamp
Last update timestamp
Api_V1_Entities_Plan model
Additional components

