Update project machine pool grant
grant_pools_editUpdates 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orgID | Yes | Organization ID (org_...). | |
| metadata | No | Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 characters, values must be strings of up to 512 characters. | |
| projectID | Yes | Project ID (proj_...). | |
| default_cwd | No | Default working directory for processes on this project's machines created from the pool after this change. | |
| description | No | Optional note about this grant. | |
| poolGrantID | Yes | Project machine pool grant ID (pmpg_...). | |
| max_total_cpu | No | Maximum total CPU across this project's live machines from the pool. | |
| max_machine_cpu | No | Largest CPU count one of this project's machines can request. | |
| min_machine_cpu | No | Smallest CPU count one of this project's machines can request. | |
| max_total_machines | No | Maximum number of live machines this project can have from the pool. | |
| default_machine_cpu | No | Default CPU count for machines this project creates from the pool, overriding the pool's default. | |
| max_total_memory_mb | No | Maximum total memory in MB across this project's live machines from the pool. | |
| max_machine_memory_mb | No | Largest memory in MB one of this project's machines can request. | |
| min_machine_memory_mb | No | Smallest memory in MB one of this project's machines can request. | |
| default_machine_memory_mb | No | Default memory in MB for machines this project creates from the pool, overriding the pool's default. | |
| delete_after_idle_minutes | No | 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. Values from 1 through 4 are invalid. | |
| default_machine_env_overlay | No | 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. | |
| default_machine_secret_env_overlay | No | 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. | |
| default_machine_provider_options_overlay | No | Provider-specific options layered over the pool's provider options for this project's machines. |