Delete the waiting list

DELETE /chat/waiting-list/{id_waiting_list}

Headers

  • X-Popsell-Brand integer Required

    The id of the target brand

Path parameters

  • id_waiting_list integer Required

    The waiting list id

Responses

  • 204

    No content - The waiting list has been deleted

  • 401 application/json

    Unauthorized.

    Hide response attribute Show response attribute object
    • message string
  • 403

    Forbidden - You don't have permission to access this route

  • 404

    Not found - The waiting list does not exist

DELETE /chat/waiting-list/{id_waiting_list}
curl \
 --request DELETE 'https://domain.tld/api/v2/chat/waiting-list/{id_waiting_list}' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "X-Popsell-Brand: 3"
Response examples (401)
{
  "message": "Unauthorized."
}