Delete a Producer
delete
/producers/{producerName}
Producer with name
producerName is closed and deleted.
Request
Path Parameters
-
producerName: string
The name of the producer.
Response
204 Response
Producer closed and deleted.
404 Response
Error Codes
producerNotFound
: The requested producer does not exist.
500 Response
Error Codes
operationFailed
: A low-level exception occurred in attempting to delete the producer.
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/producers/myFirstProducer"
There is no request body to submit with the HTTP request and there is no response body.
Back to Top