/admins/{admin_id}/awaySet an admin to away
Sets an admin's away status for the Inbox and controls whether new conversation replies are reassigned. Supply away_mode_enabled and away_mode_reassign in the request body; their defaults are true and false, respectively. You can also provide an away status reason identifier.
Admin away-status settings. Include both away_mode_enabled and away_mode_reassign.
2 documented failures
parameter_invalidAway status reason is deleted
Example of an invalid away_status_reason_id
away_status_reason_mandatoryAway status reason is mandatory
Example of a missing away_status_reason_id when away reasons are mandatory
One documented failure
unauthorizedAccess Token Invalid
One documented failure
admin_not_foundAdmin for admin_id not found
A 400 is returned when the request body is invalid. A 401 is returned when the request is unauthorized, and a 404 is returned when the admin does not exist; the admin_id path parameter must identify an admin. The body must include away_mode_enabled and away_mode_reassign.