Multiple IDs
Authorization
1 alternative authorization method available — see the spec for details.
Query parameters
Items: min 1
Skip to main contentDocumentation index
Fetch the complete documentation index at: /docs/llms.txt
Ask it with GET /docs/ask?q=<keywords or question>. Short keywords rank best.
Use these to discover all available pages before exploring further.
Feature requests: /docs/common/help/feature-requests.md lists what users asked for and how to vote for a request or add one.
Page rating: `GET /docs/feedback?path=<this page's path>&helpful={true|false}&comment={comment}` records whether this page helped. The `comment` (URL-encoded, at most 500 characters) says what helped, or what was missing or wrong; a `helpful=false` rating needs it. It is anonymous and needs no key. Comments hold no code, secrets or personal data.
curl --request DELETE \
--url https://qstash-eu-central-1.upstash.io/v2/dlq/multi \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"dlqIds": [
"dlq_id_1",
"dlq_id_2"
]
}'import requests
url = "https://qstash-eu-central-1.upstash.io/v2/dlq/multi"
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json",
}
payload = {
"dlqIds": [
"dlq_id_1",
"dlq_id_2"
]
}
response = requests.request("DELETE", url, headers=headers, json=payload)
print(response.text)const response = await fetch('https://qstash-eu-central-1.upstash.io/v2/dlq/multi', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
"dlqIds": [
"dlq_id_1",
"dlq_id_2"
]
})
});
const data = await response.json();
console.log(data);<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => 'https://qstash-eu-central-1.upstash.io/v2/dlq/multi',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'DELETE',
CURLOPT_POSTFIELDS => '{
"dlqIds": [
"dlq_id_1",
"dlq_id_2"
]
}',
CURLOPT_HTTPHEADER => [
'Authorization: Bearer <token>',
'Content-Type: application/json',
],
]);
$response = curl_exec($curl);
curl_close($curl);
echo $response;package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
url := "https://qstash-eu-central-1.upstash.io/v2/dlq/multi"
payload := strings.NewReader("{\n \"dlqIds\": [\n \"dlq_id_1\",\n \"dlq_id_2\"\n ]\n}")
req, _ := http.NewRequest("DELETE", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://qstash-eu-central-1.upstash.io/v2/dlq/multi"))
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.method("DELETE", HttpRequest.BodyPublishers.ofString("{\n \"dlqIds\": [\n \"dlq_id_1\",\n \"dlq_id_2\"\n ]\n}"))
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());require 'uri'
require 'net/http'
url = URI('https://qstash-eu-central-1.upstash.io/v2/dlq/multi')
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = url.scheme == 'https'
request = Net::HTTP::Delete.new(url)
request['Authorization'] = 'Bearer <token>'
request['Content-Type'] = 'application/json'
request.body = '{
"dlqIds": [
"dlq_id_1",
"dlq_id_2"
]
}'
response = http.request(request)
puts response.read_body{
"deleted": 1
}{
"error": "<string>"
}1 alternative authorization method available — see the spec for details.
Items: min 1
Was this page helpful?