The @HttpDelete annotation is used at the method level
and enables you to expose an Apex method as a REST resource. This method is called when an HTTP
DELETE request is sent, and deletes the specified
resource.
To use this annotation, your Apex method must be defined as
global static.