Bulk delete resources in the compartment

POST {{baseUrl}}/compartments/:compartmentId/actions/bulkDeleteResources

Deletes multiple resources in the compartment. All resources must be in the same compartment. You must have the appropriate permissions to delete the resources in the request. This API can only be invoked from the tenancy's home region. This operation creates a WorkRequest. Use the GetWorkRequest API to monitor the status of the bulk action.

Request Body

{"resources"=>[{"identifier"=>"et ", "entityType"=>"Ut esse consequat eu elit"}, {"identifier"=>"in non ullamco enim", "entityType"=>"in cupidatat reprehenderit fugiat ad"}]}

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringUnique Oracle-assigned identifier for the request. If you need to contact Oracle about a
particular request, please provide the request ID.
opc-retry-tokenstringA token that uniquely identifies a request so it can be retried in case of a timeout or
server error without risk of executing that same action again. Retry tokens expire after 24
hours, but can be invalidated before then due to conflicting operations (e.g., if a resource
has been deleted and purged from the system, then a retry of the original creation request
may be rejected).
Content-Typestring
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header
x-content-sha256string(Required) Content sha256 for POST, PUT and PATCH operations