Reset Priorities
This resets all Priorities back to default.
You are required to have the
manage-livechat-priorities
permission.URL | Requires Auth | HTTP Method |
---|---|---|
api/v1/livechat/priorities.reset | YES | POST |
Argument | Example | Required | Description |
---|---|---|---|
X-User-Id | myuser-name | Required | The authenticated ouser ID. |
X-Auth-Token | myauth-token | Required | Auth token. |
curl --location --request POST 'http://localhost:3000/api/v1/livechat/priorities.reset' \
--header 'X-Auth-Token: sMmROZpdpCTbY43XwPT_bCsWJc-VW7v_e2urWhUM766' \
--header 'X-User-Id: rYhzFRd2QZjNwAAXX'
{
"success": true
}
Any of the following errors can occur on the endpoint.
- Authorization: Requires an authentication token for the request to be made.
- No Permission: This occurs when the authenticated user doesn't have
manage-livechat-priorities
permission.
Authorization
No Permission
{
"status": "error",
"message": "You must be logged in to do this."
}
{
"success": false,
"error": "error-not-authorized"
}
Version | Description |
---|---|
6.0.0 | Added |
Last modified 2mo ago