Sets the current user's sleep mode. For the temporary mode, both 'from' and 'to' need to be given. Both are
assumed to be in the format 'd.m.Y'. For other modes the two fields will be ignored. Optionally, a message can be added.
Sets the current user's sleep mode. For the temporary mode, both 'from' and 'to' need to be given. Both are assumed to be in the format 'd.m.Y'. For other modes the two fields will be ignored. Optionally, a message can be added.
- application/json
Request Body
- mode string required
Possible values: Value must match regular expression
\d+
- from string
- to string
- message string
Responses
- 200
- 400
- 401
Success
Invalid mode or parameters
Not logged in
Loading...