Modify Status
Modify Status
Jail, hospitalize (coma), or send a user on vacation (or clear a status)
Note: Does not support targetUserId — always applies to the invoking user.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
status | enum: jail | coma | vacation | yes | |
operation | enum: set | clear | yes | |
duration | number (as string) or {path} | no | Required when status is 'jail' and operation is 'set' (milliseconds). For 'vacation', this is days. Ignored for 'coma'. vacation+set additionally requires the target to have an active job. |
Example
{
"id": "01H8XGJVBWX7Y5Z3K9M2N4P6Q1",
"type": "modify_status",
"status": "jail",
"operation": "set",
"duration": "60000"
}Updated about 14 hours ago
Did this page help you?
