clerk.create_organization_role
Create a new organization role in a connected Clerk application.
Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account.
Returns the new role summary.
Cost = 10 tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Unique role key. | |
| name | Yes | Role display name. | |
| description | No | Role description. | |
| permissions | No | Permission keys to assign to the new role. | |
| clerk_instance_id | No | Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account. | |
| include_in_initial_role_set | No | Whether to include this role in the initial role set. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organization_role | No | Newly created organization role summary. |