Skip to main content
DELETE
/
queued_requests
/
{request_id}
Delete a queued request
curl --request DELETE \
  --url https://qubesync.com/api/v1/queued_requests/{request_id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "error": {
    "message": "Cannot delete request in state 'waiting'. Only completed, failed, or discarded requests can be deleted.",
    "code": "invalid_state"
  }
}

Authorizations

Authorization
string
header
required

Use your app's API_KEY as the username, and leave the password blank

Path Parameters

request_id
string<uuid>
required

The unique identifier of the queued request to delete

Example:

"550e8400-e29b-41d4-a716-446655440000"

Query Parameters

force
boolean
default:false

If true, allows deletion of requests that are not in a terminal state. Use with caution as this may leave the connection in an inconsistent state.

Response

Queued request was successfully deleted or did not exist