New: build custom CDF applications with Cognite Flows. Documentation · What's new.
const assetMappingsToDelete = [
{
nodeId: 8252999965991682,
assetId: 4354399876978078
},
{
nodeId: 9034285498543958,
assetId: 1042345809544395
}
];
await client.assetMappings3D.delete(8252999965991682, 4190022127342195, assetMappingsToDelete);{}Required capabilities:
threedAcl:DELETE
Delete a list of asset mappings.
In Hybrid CDF projects: The delete request items requires a nodeId, and either an assetId or an assetInstanceId.
In DataModelingOnly CDF projects: The delete request items requires a nodeId and an assetInstanceId (with space and externalId).
const assetMappingsToDelete = [
{
nodeId: 8252999965991682,
assetId: 4354399876978078
},
{
nodeId: 9034285498543958,
assetId: 1042345809544395
}
];
await client.assetMappings3D.delete(8252999965991682, 4190022127342195, assetMappingsToDelete);{}Documentation Index
Fetch the complete documentation index at: https://docs.cognite.com/llms.txt
Use this file to discover all available pages before exploring further.
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 IDs of the asset mappings to delete.
1 - 1000 elementsShow child attributes
Empty response.
The response is of type object.
Was this page helpful?