Show TOC

Example documentationThe DELETE Method Locate this document in the navigation structure

 

The method IF_REST_RESOURCE~DELETE is used to delete a single entity of type Car identified by the key provided using the URI that was called. The data and ETag handling is identical to the method The PUT Method.

The example URI http://myhost:4711/sap/bc/rest_cars/Car/2 is a valid URI for calling the IF_REST_RESOURCE~DELETE method together with the HTTP DELETE method. On success, the HTTP response code is set to 201 ("No Content").