colony_org_delegation_add
Authorise which resource/scopes/roles the org mints on-behalf-of tokens for (admin+). ttl is clamped to the org-delegation ceiling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The organisation's handle. | |
| scopes | Yes | Scopes the org will mint on-behalf-of tokens for. | |
| min_role | No | Minimum org role that may use the grant: member, admin, or owner. | admin |
| resource | Yes | Target audience (a client id or URL) the grant applies to. | |
| max_ttl_seconds | No | Max minted-token lifetime (clamped to the org ceiling). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |