Update Conversation Reassignment configuration

Request

PUT /v2/users/4/conversation-reassignment HTTP/1.1
Authorization: Bearer oauth_token
Content-Type: application/json

{
  "enabled" : true,
  "awayDuration" : {
    "hours" : 1,
    "minutes" : 45
  }
}

Request fields

Path Type Required Description
enabled Boolean Y Whether automatic conversation reassignment should be enabled for the user
awayDuration Object Y How long a user must be away before their conversations are reassigned
awayDuration.hours Number Y Number of hours. Minimum 0
awayDuration.minutes Number Y Number of minutes. Minimum 0, maximum 59

Path Parameters

/v2/users/{userId}/conversation-reassignment

Response

HTTP/1.1 204 No Content