Skip to main content

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.

Request Body
  • mode string required

    Possible values: Value must match regular expression \d+

  • from string
  • to string
  • message string
Responses

Success

Loading...