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.
curl -X DELETE "https://api.confident-ai.com/v2/ai-connections/{aiConnectionId}" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"id": "<AI-CONNECTION-ID>"
},
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe API key of your Confident AI project.
Path parameters
aiConnectionIdstringRequiredThe id of the AI connection.
Response
Delete Connection succeeded.
successbooleanIndicates if the request was successful.
dataobjectA reference to an AI connection by its id.
Show 1 propertyHide 1 property
idstringThe id of the AI connection, generated by Confident AI.
deprecatedbooleanIndicates if this endpoint is deprecated.