Set User Status
This request manually sets the temporary status of the user for a specific time.
Only statuses that are selectable can be chosen here. Use the GET /me/selectable_statuses API call to get the list of selectable statuses.
Resource
PUT /me/temporary_status
Parameters
None
Payload
An TemporaryStatusInfo object containing the status and the until date.
Response
None
Context
Authorization |
User |
Errors
HTTP code | Xelion code | Description |
---|---|---|
400 |
10203 |
Missing the status or the until date. |
Example
Request
PUT https://xelion.nl/api/v1/master/me/temporary_status
Payload
{
"temporaryUserStatus": "dont_disturb",
"temporaryUserStatusUntil": "2024-04-24 13:08:00"
}