Delete retry policy
API endpoint: Delete retry policy
Authorization
X-Reevit-Key<token>API key for server-to-server authentication
In: header
Query Parameters
plan_idstringPlan ID (empty for org-wide default)
Header Parameters
X-Org-IdRequiredstringOrganization identifier for multi-tenancy
Response Body
No Content
Not Found
TypeScript Definitions
Use the response body type in TypeScript.
errorRequiredstringError type/category
codeRequiredstringMachine-readable error code
messageRequiredstringHuman-readable error message
detailsobjectOptional field-level error details
Internal Server Error
TypeScript Definitions
Use the response body type in TypeScript.
errorRequiredstringError type/category
codeRequiredstringMachine-readable error code
messageRequiredstringHuman-readable error message
detailsobjectOptional field-level error details
curl -X DELETE "http://localhost:8081/v1/policies/retry?plan_id=string" \
-H "X-Org-Id: string" \
-H "X-Reevit-Key: <token>"fetch("http://localhost:8081/v1/policies/retry?plan_id=string", {
headers: {
"X-Org-Id": "string",
"X-Reevit-Key": "<token>"
}
})package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "http://localhost:8081/v1/policies/retry?plan_id=string"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("X-Org-Id", "string")
req.Header.Add("X-Reevit-Key", "<token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}import requests
url = "http://localhost:8081/v1/policies/retry?plan_id=string"
response = requests.request("DELETE", url, headers = {
"X-Org-Id": "string",
"X-Reevit-Key": "<token>"
})
print(response.text)Empty
{
"error": "invalid_request",
"code": "email_required",
"message": "email is required",
"details": {
"metric": "workflow_executions",
"used": "2000",
"limit": "2000",
"reset": "2025-01-01T00:00:00Z"
}
}{
"error": "invalid_request",
"code": "email_required",
"message": "email is required",
"details": {
"metric": "workflow_executions",
"used": "2000",
"limit": "2000",
"reset": "2025-01-01T00:00:00Z"
}
}