URL : v3/api/queue/{queueId}
Method : POST
Content-Type : application/JSON
Permission to: Admin Only
Keep In Mind: Please Provide an Authorization token in the Header to access
Query Parameters: Query parameters differs for every queue
Note – We Do not need any configuration for Database And Sync Queue
For other queues, input fields are given below
For Beanstalkd:
Parameter | Type | Required/Optional | Description |
driver | string | Required | The driver of this Queue |
host | string | Required | The Host of this Queue |
queue | string | Required | queue name |
For SQS:
Parameter | Type | Required/Optional | Description |
driver | string | Required | name of this Queue |
key | string | Required | Public Key of this Queue |
secret | string | Required | URL of this Queue |
region | string | Required | Region of this Queue |
For Iron:
Parameter | Type | Required/Optional | Description |
driver | string | Required | Driver name of this Queue |
host | string | Required | Host of this Queue |
token | string | Required | Token of this Queue |
project | string | Required | Project ID for this Queue |
queue | string | Required | Queue Name |
For Redis:
Parameter | Type | Required/Optional | Description |
driver | string | Required | Driver name of this Queue |
queue | string | Required | Queue Name |
Path Parameters: We need to Pass QueueID in URL which we can get from get-form api
Parameter | Type | Possible Values | Required/Optional | Description |
queueId | integer | Required | Queue Id of the queue to be updated |
Response:
{ "success": true, "message":"Queue updated Successfully" }