Locations
Delete a location
Soft deletes a location by setting invalidated_at timestamp. Also removes references from LocationsJoin table and organizations using this location as primary or secondary location.
Note: This is a soft delete - the location data remains in the database for audit purposes.
delete/locations/{id}
Request
- Base URLhttps://crisiscleanup-3-api-production.up.railway.app
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Location successfully deleted
Changes
No recorded changes to this operation across all 3 revisions of this API.