Delete a Listener
delete
/listeners/{listenerName}
Delete the listener with the given name.
Request
Path Parameters
-
listenerName: string
The name of listener to be removed.
Response
204 Response
The listener was deleted.
404 Response
The specified listener does not exist.
500 Response
The listener was not deleted. A low-level exception was thrown while deleting the listener.
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/listeners/myFirstListener"
There is no request body to submit with the HTTP request and there is no response body.
Back to Top