Delete an ambassador point of sale (manager)

DELETE /manager/ambassadors/{id}/point-of-sale

Path parameters

  • id integer Required

    The ambassador id

Responses

  • 200 application/json

    success

    Hide response attribute Show response attribute object
  • 401 application/json

    Unauthorized.

    Hide response attribute Show response attribute object
  • Forbidden - You don't have permission to access this route

  • Not found - The ambassador does not exist

DELETE /manager/ambassadors/{id}/point-of-sale
curl \
 -X DELETE https://domain.tld/api/v2/manager/ambassadors/{id}/point-of-sale \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "message": "Point of sale detached successfully"
}
Response examples (401)
{
  "message": "Unauthorized."
}