Introducing Confident Monitor

Delete Risk Category

(v2)

DELETE

Permanently deletes a risk category from its framework, along with the selections and weights it held. The vulnerabilities and attack methods themselves are untouched.

DELETE/v2/rt-frameworks/{rtFrameworkId}/risk-categories/{riskCategoryId}
curl -X DELETE "https://api.confident-ai.com/v2/rt-frameworks/{rtFrameworkId}/risk-categories/{riskCategoryId}" \
  -H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"
200
{
  "success": true,
  "data": {
    "id": "<RISK-CATEGORY-ID>"
  },
  "deprecated": false
}

Headers

  • CONFIDENT_API_KEYstringRequired

    The API key of your Confident AI project.

Path parameters

  • rtFrameworkIdstringRequired

    The id of the red teaming framework the category belongs to.

  • riskCategoryIdstringRequired

    The id of the risk category.

Response

Delete Risk Category succeeded.

  • successboolean

    Indicates if the request was successful.

  • dataobject

    A reference to a risk category by its id.

    Show 1 propertyHide 1 property
    • idstring

      The id of the risk category, generated by Confident AI.

  • deprecatedboolean

    Indicates if this endpoint is deprecated.

Built byConfident AI