In this example, we'll use the DELETE method to delete the compassionate leave type from our Leave type model.
Procedure
-
Select the GET method to retrieve the details of the leave types you would like to delete.
-
Copy the "Id" you need to perform the DELETE request.
-
Select the DELETE method request, for example, DELETE /custom/leave-types{Id}.
-
In the id value field, paste the "Id" value.
-
Select Try it out. The API returns the object to you in the Response body with a Response code of 200, which means your request was successful.