Update project machine pool grant
Changed onUpdates the grant's overrides and limits. Omitted fields keep their current values; null clears an override so the grant follows the machine pool again. Overlay objects and metadata are replaced whole when present. Existing machines keep their configuration; the updated defaults and limits apply to new launches.
Request
- Base URLhttps://api.omnara.com/v1
- Auth
- HTTP bearer
- or API key in cookie __Host-omnara_session and API key in header X-Omnara-Csrf
Path parameters
Organization ID (org_...).
Project ID (proj_...).
Project machine pool grant ID (pmpg_...).
Request body
Update a project machine pool grant. Omitted fields keep their current values. Null clears an override so the grant follows the machine pool again. Overlay objects and metadata are replaced whole when present; send an empty object to clear them.
Free-form note stored with the grant.
Default CPU count for machines this project creates from the pool, overriding the pool's default.
Default memory in MB for machines this project creates from the pool, overriding the pool's default.
Env overlay merged over the pool's default_machine_env for machines this project creates from the pool afterward; a null entry removes the key.
Secret env overlay merged over the pool's default_machine_secret_env for machines this project creates from the pool afterward; a null entry removes the key.
Provider-specific options layered over the pool's provider options for this project's machines.
Default working directory for processes on this project's machines created from the pool after this change.
Maximum number of live machines this project can have from the pool.
Maximum total CPU across this project's live machines from the pool.
Maximum total memory in MB across this project's live machines from the pool.
Smallest CPU count one of this project's machines can request.
Smallest memory in MB one of this project's machines can request.
Largest CPU count one of this project's machines can request.
Largest memory in MB one of this project's machines can request.
Idle minutes before deleting a machine created through this grant. Use 0 to disable for this grant; null restores inheritance from the pool; omitted leaves it unchanged.
Arbitrary key-value labels stored with the resource.
Response
Project machine pool grant updated.
Identifies the pool grant.
Organization that owns the grant.
Project the grant lets create machines from the pool.
Pool the project may create machines from.
Free-form note about the grant; empty if none was set.
Default vCPUs for this project's machines from the pool; null uses the pool default.
Default memory in MB for this project's machines from the pool; null uses the pool default.
Env overlay merged over the pool's default_machine_env for machines materialized through this grant; a null entry removes the key.
Secret env overlay merged over the pool's default_machine_secret_env for machines materialized through this grant; a null entry removes the key.
Provider options layered over the pool's for this project's machines.
Working directory for this project's machines from the pool; empty uses the pool default.
Most live machines this project can have from the pool; null means only the pool limit applies.
Most vCPUs across this project's live pool machines; null means only the pool limit applies.
Most memory in MB across this project's live pool machines; null means only the pool limit applies.
Fewest vCPUs one of this project's machines can request; null uses the pool minimum.
Least memory in MB one of this project's machines can request; null uses the pool minimum.
Most vCPUs one of this project's machines can request; null uses the pool maximum.
Most memory in MB one of this project's machines can request; null uses the pool maximum.
Idle minutes before deleting a machine created through this grant. Zero disables deletion for this grant; null inherits the pool default.
Key-value metadata attached to the grant.
When the grant was created.
When the grant last changed.
Changes
- info
added the optional property
current_digestto the response with the status - info
added the optional property
current_digestto the response with the status - info
added the optional property
current_digestto the response with the status
156 more changes in this revision
- info