Suspend or reinstate app user
tzcloud_set_end_user_standingSuspend or reinstate one of an application's end users, by standing. With standing: suspended, every session ends at once on every device and the next sign-in is refused, until a call with standing: active. Your application's cached verification may last past the suspension by at most its cache interval. With standing: active, the user can sign in again. The sessions the suspension ended stay ended. An optional environment (development or production) chooses the realm you address. Without it, the call selects production. development works 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>",
"standing": "<standing>"
},
"name": "tzcloud_set_end_user_standing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_user | Yes | The end user's opaque id, from `tzcloud_list_end_users`. | |
| standing | Yes | `suspended` ends every session of the user at once and refuses its next sign-in; `active` restores the standing, the sessions the suspension ended staying ended. | |
| application | Yes | Your account's application `id` from `tzcloud_list_applications`, not its name or label. | |
| environment | No | Optional. The environment whose realm your call addresses, `development` or `production`; leave it out for `production`. |