Account Management

All Account requests allow managing the authenticated user's account.

Resource Allowed HTTP Methods Description
/account GET Returns the Account (User) entity of the authenticated user
/account/vacation/:isOnVacation PUT Updates the vacation status of the authenticated user; returns the Account (User) entity of the authenticated user
/account/language/:idLanguage PUT Updates the display language of the authenticated user; returns the Account (User) entity of the authenticated user
/account/messages[/:idOtherUser[:/idMessage]] GET Returns the message thread overview (resp. a message thread with a specified other user) of the authenticated user
POST Creates a new message for the authenticated user to a specified other user
DELETE Deletes a message thread for the authenticated user to a specified other user (resp. a specified single message)