Risks

Delete risk

Permanently removes a risk from the organization. This action cannot be undone. Supports both API key authentication (X-API-Key header) and session authentication (Bearer token or cookies).

delete/v1/risks/{id}

Path parameters

idstring required
Example:rsk_abc123def456

Risk ID

Response

Risk deleted successfully

messagestring
authType'api-key' | 'session'

How the request was authenticated

Example response

{
  "message": "Risk deleted successfully",
  "deletedRisk": {
    "id": "rsk_abc123def456",
    "title": "Data breach vulnerability in user authentication system"
  },
  "authenticatedUser": {
    "id": "usr_def456ghi789",
    "email": "user@example.com"
  }
}

Changes