Unarchive a Department

Prev Next
Post
/api/v1/livechat/department/unarchive/{_id}

Use this endpoint to unarchive a department and add it back to the list of active departments. Permission required: manage-livechat-departments

Header parameters
X-Auth-Token
stringRequired

The authToken of the authenticated user.

ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
X-User-Id
stringRequired

The userId of the authenticated user.

ExamplerbAXPnMktTFbNpwtJ
Path parameters
_id
stringRequired

Enter the department ID that you want to unarchive.

Example693fc4b0ddfe6ceaf280f7f6
Responses
200

OK

Success
{
  "success": true
}
object
success
boolean
400

Unauthorized

Authorization Error
{
  "status": "error",
  "message": "You must be logged in to do this."
}
object
status
string
message
string