DELETING A RESOURCE (DELETE)

To delete an existing resource, use the HTTP DELETE verb, and use the following steps:

  1. Call the URL and specify the ID of the existing resource to delete.

  2. Check the result to determine if the resource was deleted successfully.

DELETE /ClassesOfService/50

Result

{
 "status":"success",
 "message":"",
 "data": null
}