Delete picture (v1.0)

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 (v1.0)

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

Request body (v1.0)

Do not supply a request body for this method.

Response (v1.0)

If successful, this method returns a 204 No Content response code. It does not return anything in the response body.

The metadata will be updated on the same link.

Example (v1.0)

Request

Here is an example of the request.

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

Response

No content.

See also

Tips for working with the APIs

Error Codes
Picture
Get Picture
Update Picture
Post Picture