curl --request POST \
--url https://qstash-eu-central-1.upstash.io/v2/workflows/dlq/restart \
--header 'Authorization: Bearer <token>' \
--header 'Upstash-Retries: 1' \
--header 'Upstash-Delay: <string>' \
--header 'Upstash-Retry-Delay: <string>' \
--header 'Upstash-Flow-Control-Key: <string>' \
--header 'Upstash-Flow-Control-Value: <string>' \
--header 'Upstash-Label: <string>' \
--header 'Upstash-Failure-Callback: <string>'
import requests
url = "https://qstash-eu-central-1.upstash.io/v2/workflows/dlq/restart"
headers = {
"Authorization": "Bearer <token>",
"Upstash-Retries": "1",
"Upstash-Delay": "<string>",
"Upstash-Retry-Delay": "<string>",
"Upstash-Flow-Control-Key": "<string>",
"Upstash-Flow-Control-Value": "<string>",
"Upstash-Label": "<string>",
"Upstash-Failure-Callback": "<string>",
}
response = requests.request("POST", url, headers=headers)
print(response.text)
const response = await fetch('https://qstash-eu-central-1.upstash.io/v2/workflows/dlq/restart', {
method: 'POST',
headers: {
'Authorization': 'Bearer <token>',
'Upstash-Retries': '1',
'Upstash-Delay': '<string>',
'Upstash-Retry-Delay': '<string>',
'Upstash-Flow-Control-Key': '<string>',
'Upstash-Flow-Control-Value': '<string>',
'Upstash-Label': '<string>',
'Upstash-Failure-Callback': '<string>'
}
});
const data = await response.json();
console.log(data);