Deleting Locations

Required Permission

can-delete-own-locations

See Auth* (scopes).

Request

DELETE /locations/<id>

Response

HTTP/1.1 200 OK

(empty response body)

Note

Deleting a location also deletes it's sub-resources, namingly, the associated Opening Times Rules.

Failure

Location id doesn't match an existing location:

HTTP/1.1 404 NOT FOUND

User doesn't have the required permission:

HTTP/1.1 403 FORBIDDEN

Other errors:

HTTP/1.1 500 INTERNAL SERVER ERROR

results matching ""

    No results matching ""