await client.labels.delete([{externalId: 'PUMP'}, {externalId: 'VALVE'}]);{}Required capabilities:
labelsAcl:WRITE
Delete all the label definitions specified by their external ids. The resource items that have the corresponding label attached remain unmodified. It is up to the client to clean up the resource items from their attached labels if necessary.
await client.labels.delete([{externalId: 'PUMP'}, {externalId: 'VALVE'}]);{}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 external ids of label definitions to delete.
1 - 1000 elementsShow child attributes
Empty response.
The response is of type object.
Was this page helpful?