DELETE

Use the DELETE HTTP method to delete a resource item. A request body is not required.

Execute the DELETE request on the URL of the resource item. In this example, a photo is deleted from the photo collection associated with a worker.

Request

DELETE https://<host>:<port>/hcmRestApi/resources/11.13.18.05/workers/00020000000EACED000577080000000000000018/child/photo/300100074710030

Response

The server deletes the employee photo and responds with status code 204.

204 No Content