Remove Resources Using DELETE Requests
Use a DELETE request to remove an Oracle ILOM resource.
Request Format
DELETE <Resource_Path> HTTP/1.1 <Header Name> : <Header Value>
Request Header Fields Required
The required request header fields are as follows: Authorization
and Host
.
For a description of these required header fields, see Common Request Header Fields.
Response Status Codes
-
Success: HTTP Status = 204 No Content, no response body.
-
Failure: HTTP Status = 4xx, 5xx, JSON formatted error response body.
Response Body (Failed Status)
When an entity corresponding to the requested resource is not found, the following error information is returned in a JSON response body format.
{ "error": { "reason":"<failure reason>", "code":<ILOM failure code (integer)>, "message":"< message describing the failure code>" } }
Example: HTTP Request
In the following HTTP example, a request is sent to the server SP to delete the resource 'jane'.
DELETE /SP/users/jane HTTP/1.1