Launch Week 02 wrapped — explore all five launches

Delete Connection

DELETEhttps://api.confident-ai.com/v2/ai-connections/{aiConnectionId}

Permanently deletes an AI connection. Anything scheduled against it, such as a dataset run or a risk assessment, stops running.

DELETE/v2/ai-connections/{aiConnectionId}
curl -X DELETE "https://api.confident-ai.com/v2/ai-connections/{aiConnectionId}" \
  -H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"
200
{
  "success": true,
  "data": {
    "id": "<AI-CONNECTION-ID>"
  },
  "deprecated": false
}

Headers

  • CONFIDENT_API_KEYstringRequired

    The API key of your Confident AI project.

Path parameters

  • aiConnectionIdstringRequired

    The id of the AI connection.

Response

Delete Connection succeeded.

  • successboolean

    Indicates if the request was successful.

  • dataobject

    A reference to an AI connection by its id.

    Show 1 propertyHide 1 property
    • idstring

      The id of the AI connection, generated by Confident AI.

  • deprecatedboolean

    Indicates if this endpoint is deprecated.

Built byConfident AI