Deleting User Accounts

Request

DELETE /accounts/:role/:id HTTP/1.1
Authorization: Bearer <bearer token>

Path Parameters

  • role: locationProviders / retailers
  • id: location provider ID / retailer ID

Response

HTTP/1.1 200 OK

Failure

Missing, invalid or expired token:

HTTP/1.1 401 UNAUTHORIZED

User doesn't have the required permission:

HTTP/1.1 403 FORBIDDEN

Invalid role or resource id:

HTTP/1.1 404 NOT FOUND

Other errors:

HTTP/1.1 500 INTERNAL SERVER ERROR

results matching ""

    No results matching ""