clerk.replace_role_set_role
ActiveTool of Vee3
declared in 1.27.1
Replace one role with another in a role set 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 set summary. Cost = 10 tokens.
Parameters schema
{
"type": "object",
"title": "replace_clerk_role_set_roleArguments",
"required": [
"role_set_id",
"role_key",
"to_role_key"
],
"properties": {
"role_key": {
"type": "string",
"title": "Role Key",
"description": "Key of the role to replace in the role set."
},
"role_set_id": {
"type": "string",
"title": "Role Set Id",
"description": "Clerk role set id or key to retrieve, update, or modify."
},
"to_role_key": {
"type": "string",
"title": "To Role Key",
"description": "Key of the replacement 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