curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/3d/contextualization/cad/delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"asset": {
"instanceId": {
"space": "<string>",
"externalId": "<string>"
}
},
"nodeId": 1003
}
],
"dmsContextualizationConfig": {
"object3DSpace": "<string>",
"contextualizationSpace": "<string>",
"revision": {
"instanceId": {
"space": "<string>",
"externalId": "<string>"
}
}
}
}
'{}Deletes the specified CAD nodes for the referenced 3D model revision.
curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/3d/contextualization/cad/delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"asset": {
"instanceId": {
"space": "<string>",
"externalId": "<string>"
}
},
"nodeId": 1003
}
],
"dmsContextualizationConfig": {
"object3DSpace": "<string>",
"contextualizationSpace": "<string>",
"revision": {
"instanceId": {
"space": "<string>",
"externalId": "<string>"
}
}
}
}
'{}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.
The array of unique CAD node references, and the dmsContextualizationConfig.
Empty response.
The response is of type object.
Was this page helpful?