Location
Delete a location
Deletes a location and detaches it from the associated entity
delete/api/locations/{location_id}
Request
- Base URLhttps://api.sponsorunited.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
location_idinteger required
Query parameters
entity_typestring
Entity to detach the location from: agency, company or property. Any other value, or none, skips the detach.
entity_idinteger
Id of the entity to detach from. Left out, the detach is skipped; an id that matches no record answers 404 before the location is deleted.
Response
Location deleted successfully
Changes
No recorded changes to this operation across all 2 revisions of this API.