curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/ai/agents/delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"externalId": "<string>"
}
],
"ignoreUnknownIds": false
}
'{}Delete agents with specific external IDs.
curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/ai/agents/delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"externalId": "<string>"
}
],
"ignoreUnknownIds": false
}
'{}Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
Successful Response
The response is of type AgentDeletionResponse · object.
Was this page helpful?