Delete a Location

Overview

Description: This endpoint allows you to delete locations.

Endpoints: /v1/custom/locations/{uuid}

Status: Live

Methods: DELETE

Example use-case: You discover that a location has recently closed! Therefore, you want to remove it from your custom index.

Diving In

All one has to do is simply use a DELETE method at this endpoint to delete a location!

curl -X DELETE \
  'https://api.ribbonhealth.com/v1/custom/locations/3814bx4d-281f-47c2-a3ff-0e5834e41721' \
  -H 'authorization: Token your_token'

And that's it!

❗️

Be careful!

When deleting locations, make sure you are careful not to erase data you did not otherwise intend to!