Description: This endpoint allows you to delete locations.
Example use-case: You discover that a location has recently closed! Therefore, you want to remove it from your custom index.
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!
When deleting locations, make sure you are careful not to erase data you did not otherwise intend to!
Updated almost 2 years ago