Delete a Consumer
delete
/consumers/{consumerName}
Consumer with name
consumerName is closed and deleted.
Request
Path Parameters
-
consumerName: string
The name of the consumer.
Response
204 Response
Consumer closed and deleted.
404 Response
Error Codes
consumerNotFound
:The requested consumer does not exist.
500 Response
Error Codes
operationFailed
:A low-level exception occurred in attempting to delete the consumer.
Examples
cURL Command
cookie=/tmp/messaging-cookie curl -s -u $USER:$PASS -c $cookie -b $cookie \ -H "X-OC-ID-TOKEN-STATUS: disabled" \ -X DELETE "https://messaging.us2.oraclecloud.com/myService-myTenant/api/v1/consumers/myFirstConsumer"
There is no request body to submit with the HTTP request and there is no response body.
Back to Top