Queues
Delete a queue
Its waiting records are removed; workflows using it can no longer add or receive records.
Authorization
AuthorizationstringheaderrequiredBearer <key>, where <key> is a workspace API key or a user API key. See Authentication.
workspace_id*integerThe workspace. List the ones your key can reach with GET /v1/workspaces.
workflows_app_queue_id*stringThe queue.
uuidregion*RegionsRegion of the resource: besg (Europe) or usnv (United States), as GET /v1/regions lists them
"besg""usnv"OK
application/json- response
queue_id*Queue Idqueue_name*Queue Namecurl -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>"}PATCHUpdate a queue
Rename a queue, pause or resume it, or change its flush rules. Only the fields sent change.
POSTFlush a queue
Send the next record_count waiting records to the queue's consumer workflow now, whatever its flush rules. A queue without a consumer workflow is refused with 409: nothing could receive the records. With validate_only, the same checks run and 204 answers, nothing is requested.