clerk.replace_user_metadata
ActiveTool of Vee3
Replace the entire contents of one metadata namespace for a Clerk user. Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account. The metadata body fully replaces the chosen namespace. Returns the updated user summary. Cost = 8 tokens.
Parameters schema
{
"type": "object",
"title": "replace_clerk_user_metadataArguments",
"required": [
"user_id",
"metadata_type",
"metadata"
],
"properties": {
"user_id": {
"type": "string",
"title": "User Id",
"description": "Clerk user id (user_...) whose metadata to replace."
},
"metadata": {
"type": "object",
"title": "Metadata",
"description": "New metadata dict that fully replaces the chosen namespace. Pass an empty object to clear all keys.",
"additionalProperties": true
},
"metadata_type": {
"type": "string",
"title": "Metadata Type",
"description": "Metadata namespace to replace."
},
"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