gateway_admin_grant_scope
Grant or deny a Gateway access scope by specifying subject type, key, and scope name. Use dry-run mode to preview changes before applying, with optional reason and expiration.
Instructions
Grant or deny a Gateway scope through Postgres. Requires access:admin; dry_run defaults to true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| effect | No | allow | |
| reason | No | ||
| dry_run | No | ||
| ttl_days | No | ||
| scope_name | Yes | ||
| subject_key | Yes | ||
| subject_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |