Breyta

Deila með


Delete subscriptions

Deletes a subscriptions object for Business Central.

HTTP request

Replace the URL prefix for Business Central depending on environment following the guideline.

DELETE businesscentralPrefix/subscriptions({'id'})

Request headers

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 subscription, the subscription will not be updated.

Request body

Do not supply a request body for this method.

Response

If successful, this method returns a 204 No Content response code.

Example

Request

Here is an example of the request.

DELETE https://{businesscentralPrefix}/api/v1.0/subscriptions({'id'}) 

Response

No response body.

Tips for working with the APIs
Subscriptions
Get subscriptions
Create subscriptions
Update subscriptions