await client.assets.delete([{id: 123}, {externalId: 'abc'}]);{}Required capabilities:
assetsAcl:WRITE
Delete assets. By default, recursive=false and the request would fail if attempting to delete assets that are referenced as parent by other assets.
To delete such assets and all its descendants, set recursive to true.
The limit of the request does not include the number of descendants that are deleted.
This endpoint is a subject of the new throttling schema (limited request rate and concurrency). Please check Assets resource description for more information.
await client.assets.delete([{id: 123}, {externalId: 'abc'}]);{}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.
Empty response.
The response is of type object.
Was this page helpful?