Create a Queue

put

/queues/{queueName}

Create a queue with the supplied name.

Request

Path Parameters
Back to Top

Response

201 Response

Queue was created.

400 Response

Queue was not created.  The number of queues is already at the maximum for the service.

409 Response

Queue was not created because a queue with that name already exists.

Back to Top

Examples

cURL Command

cookie=/tmp/messaging-cookie
curl -s -u $USER:$PASS -c $cookie -b $cookie \
     -H "X-OC-ID-TOKEN-STATUS: disabled" \
     -X PUT "https://messaging.us2.oraclecloud.com/myService-myTenant/api/v1/queues/myFirstQueue"

There is no request body to submit with the HTTP request and there is no response body.

Back to Top