Companies
Delete a location from a company
DELETE
Removes the location from the company. Deleting the primary location does not promote another location; the company is left without a primary location (and an empty address) until one is set. Requires companies:write.
Parameters
idstringrequiredpathCompany ID
location_ idstringrequiredpathLocation ID
Response
Location deleted
400Bad RequestErrorResponse
Invalid id
401UnauthorizedErrorResponse
Invalid API key
403ForbiddenErrorResponse
Insufficient scope
404Not FoundErrorResponse
Company or location not found
422Unprocessable EntityErrorResponse
Delete failed
500Internal Server ErrorErrorResponse
Internal server error
Authorization
bearer_ authhttp (bearer) in headerAPI key or OAuth access token in Authorization header
Scopes: companies:write
oauth2_ authoauth2OAuth authorization code flow with mandatory S256 PKCE.
Scopes: companies:write
apikey_ authapiKey in queryAPI key in query string
Scopes: companies:write
