Delete app user
tzcloud_delete_end_userDelete one of an application's end users: their identities, sessions, and passkeys with the user record. The realm's event log keeps its entries. Destructive: needs a credential with the destructive class (a signed-in session, or a token minted with destructive). The call creates a pending action, and the deletion runs only after a person approves it in the browser. An optional environment (development or production) chooses the realm you address. Without it, the call selects production. The development realm exists only once tzcloud_create_environment has turned development on.
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": {
"application": "<application>",
"end_user": "<end_user>"
},
"name": "tzcloud_delete_end_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_user | Yes | The end user's opaque id, from `tzcloud_list_end_users`. | |
| request_id | No | Any string you choose. A repeat from the same account while that pending action is live returns it again, creating no second one. Omitted, every call creates a new one. | |
| application | Yes | Your account's application `id` from `tzcloud_list_applications`, not its name or label. | |
| environment | No | Optional. The environment whose realm the call addresses, `development` or `production`; absent, `production`. |