Events
Power BI DataViz World Championships
Feb 14, 4 PM - Mar 31, 4 PM
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn moreThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Deletes a location from Business Central.
Replaces the URL prefix for Business Central depending on environment following the guideline.
DELETE businesscentralPrefix/companies({id})/locations({id})
Header | Value |
---|---|
Authorization | Bearer {token}. Required. |
If-Match | Required. When this request header is included and the eTag provided does not match the current tag on the location, the location will not be updated. |
Do not supply a request body for this method.
If successful, this method returns 204 No Content
response code and deletes the location. It does not return anything in the response body.
Request
Here is an example of the request.
DELETE https://{businesscentralPrefix}/api/v2.0/companies({id})/locations({id})
Response
Here is an example of the response.
HTTP/1.1 204 No Content
Tips for working with the APIs
location
GET location
POST location
PATCH location
Events
Power BI DataViz World Championships
Feb 14, 4 PM - Mar 31, 4 PM
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn more