Delete picture

Deletes the properties and relationships of a picture object for Business Central.

HTTP request

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

DELETE businesscentralPrefix/companies({companyId})/items({itemId})/picture({pictureId})
DELETE businesscentralPrefix/companies({companyId})/vendors({vendorId})/picture({pictureId})
DELETE businesscentralPrefix/companies({companyId})/employees({employeeId})/picture({pictureId})
DELETE businesscentralPrefix/companies({companyId})/customers({customerId})/picture({pictureId})

Request headers

Header Value
Authorization Bearer {token}. Required.
If-Match When this request header is included and the eTag provided doesn't match the current tag on the picture, the picture won't be updated.

Request body

Don't supply a request body for this method.

Response

If successful, this method returns a 204 No Content response code. It doesn't return anything in the response body.

The metadata will be updated on the same link.

Example

Request

Here's an example of the request.

DELETE https://api.businesscentral.dynamics-tie.com/v2.0/api/v2.0/companies(companyId)/customers(customerId)/picture(pictureId)

Response

No content.

Tips for working with the APIs
picture
Get picture
Update picture