DELETE/v1/retention/{request_id}
Delete a retained decision
Delete one retained decision by request id. Requires a Bearer API key.
Parameters
| Name | In | Required |
|---|---|---|
| request_id | path | Yes |
Responses
200
Successful Response
422
HTTPValidationError
| Field | Type | Required |
|---|---|---|
| detail | array of ValidationError | No |
curl -s -X DELETE "https://strike-ai.eu/v1/retention/req_retained_abc" \
-H "Authorization: Bearer $STRIKE_API_KEY"Example response
{
"deleted": true,
"request_id": "req_retained_abc"
}Try it
Calls our server proxy. Only paste your API key here: it stays in this tab and isn’t stored or sent to analytics. Leave it empty to use the playground proxy key.
Errors
| Status | Code | Meaning |
|---|---|---|
| 401 | authentication_error | Missing or invalid Bearer API key. |
| 422 | validation_error | Request body failed schema or business validation. |
| 404 | not_found | Resource not found (e.g. retention id). |