clerk.ban_users
Ban one or more Clerk users, preventing them from signing in.
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 user summaries and total count.
Cost = 8 tokens.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"user_ids": "<user_ids>"
},
"name": "clerk.ban_users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_ids | Yes | List of one or more Clerk user ids (user_...) to ban. | |
| clerk_instance_id | No | Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| users | No | Updated user summaries for all banned users. | |
| total_count | No | Number of users that were banned. |