See Stacksync in action with a solution architect. Book a demo ↗
Queues

Queues

Delete a queue

DELETE
/v1/workspaces/{workspace_id}/queues/{workflows_app_queue_id}

Its waiting records are removed; workflows using it can no longer add or receive records.

Authorization

Authorizationstringheaderrequired

Bearer <key>, where <key> is a workspace API key or a user API key. See Authentication.

Path Parameters

workspace_id*integer

The workspace. List the ones your key can reach with GET /v1/workspaces.

workflows_app_queue_id*string

The queue.

Formatuuid

Query Parameters

region*Regions

Region of the resource: besg (Europe) or usnv (United States), as GET /v1/regions lists them

Value in"besg""usnv"

Response Body

OK

application/json
  1. response
queue_id*Queue Id
queue_name*Queue Name
Delete a queue
curl -X DELETE 'https://api.stacksync.com/v1/workspaces/0/queues/497f6eca-6276-4993-bfeb-53cbbbba6f08?region=besg'
{  "queue_id": "<queue_id>",  "queue_name": "<queue_name>"}