Show Table of Contents
3.4. Using DELETE to Delete Resources
This section describes how to use
DELETE requests to delete Satellite resources. Special permissions might be required for some DELETE requests; see Appendix A, API Permissions Matrix for information about API permissions.
3.4.1. Deleting a Resource
Delete a resource with a
DELETE request sent to its URI.
Include an Accept HTTP header to define the MIME type for the response format.
DELETE /api/collection/resource_id HTTP/1.1 Accept: MIME type
Some cases require optional body content in the
DELETE request to specify additional properties. A DELETE request with optional body content requires a Content-Type header to inform the API of the representation MIME type in the body content. If a DELETE request contains no body content, omit the Content-Type header.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.