Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!