clerk.assign_organization_role_permission
ActiveTool of Vee3
declared in 1.27.1
Assign a permission to an 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 updated role summary. Cost = 8 tokens.
Parameters schema
{
"type": "object",
"title": "assign_clerk_organization_role_permissionArguments",
"required": [
"role_id",
"permission_id"
],
"properties": {
"role_id": {
"type": "string",
"title": "Role Id",
"description": "Clerk organization role id to retrieve, update, delete, or assign permissions to."
},
"permission_id": {
"type": "string",
"title": "Permission Id",
"description": "Clerk organization permission id to retrieve, update, delete, or assign to a role."
},
"clerk_instance_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Clerk Instance Id",
"default": null,
"description": "Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account."
}
}
}Parent server
Vee3
https://github.com/Vee3io/Vee3
1/7 registries