set_user_status
Suspend or reactivate a Zendesk user, change their role between end-user, agent, or admin, and preview proposed changes with dry-run before applying.
Instructions
Suspend or reactivate a user, and/or change their role.
role accepts end-user, agent or admin. With dry_run true (the default) it
only reports the proposed change against the current state.
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_id": "<user_id>"
},
"name": "set_user_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | ||
| dry_run | No | ||
| user_id | Yes | ||
| suspended | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||