Delete a report
DELETEhttps://api.fortwatch.ai/app/assessments/{id}
Deletes the report and its files.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
idrequired | path | integer |
Example request
curl -X DELETE "https://api.fortwatch.ai/app/assessments/42" \
-H "Authorization: Bearer $FORTWATCH_API_KEY"Response 200
The request succeeded.
| Field | Type | Description |
|---|---|---|
deletedrequired | boolean |
{
"deleted": true
}Errors
400 | The request is not valid: a field is missing or has the wrong shape (the message names it). |
401 | No valid credentials: the API key or access token is missing, revoked or expired (INVALID_API_KEY, INVALID_TOKEN). |
403 | Not allowed: the key or token lacks this scope (SCOPE_REQUIRED), the route is dashboard-only (SESSION_REQUIRED), or a plan limit applies. |
404 | Not found in your workspace. |
429 | Too many requests (RATE_LIMITED): wait the seconds Retry-After gives. |
Every code is explained in Errors.