clerk.replace_role_set
ActiveTool of Vee3
declared in 1.27.1
Replace a role set with another 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 migration payload from Clerk. Cost = 10 tokens.
Parameters schema
{
"type": "object",
"title": "replace_clerk_role_setArguments",
"required": [
"role_set_id",
"dest_role_set_key"
],
"properties": {
"role_set_id": {
"type": "string",
"title": "Role Set Id",
"description": "Clerk role set id or key to retrieve, update, or modify."
},
"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."
},
"dest_role_set_key": {
"type": "string",
"title": "Dest Role Set Key",
"description": "Key of the destination role set to migrate members to."
},
"reassignment_mappings": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Reassignment Mappings",
"default": null,
"description": "Optional map of source role keys to destination role keys."
}
}
}Parent server
Vee3
https://github.com/Vee3io/Vee3
1/7 registries