curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/diagram-parsing/entities/delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"externalId": "my.known.id"
}
]
}
'{
"items": [
"my.known.id"
]
}Required capabilities:
DiagramParsingAcl:WRITE
Delete up to 100 diagram entities by specifying their IDs.
curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/diagram-parsing/entities/delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"externalId": "my.known.id"
}
]
}
'{
"items": [
"my.known.id"
]
}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.
List of diagram entity IDs to delete.
1 - 100 elementsShow child attributes
List of external IDs returned in a response
1 - 100 elementsThe external ID provided by the client. Must be unique for the resource type.
255Was this page helpful?