Delete Locations

Required Permission

can-delete-all-locations

See Auth* (scopes).

Request

Delete all locations for a specific provider:

DELETE /locationProviders/<location provider id>/locations

Response

If one or more locations are deleted:

HTTP/1.1 200 OK

Failure

User doesn't have the required permission:

HTTP/1.1 403 FORBIDDEN

Location provider does not exist or doesn't have locations:

HTTP/1.1 404 NOT FOUND

Other errors:

HTTP/1.1 500 INTERNAL SERVER ERROR

results matching ""

    No results matching ""