New: build custom CDF applications with Cognite Flows. Documentation · What's new.
client.workflows.versions.delete(("my workflow", "1"))
from cognite.client.data_classes import WorkflowVersionId
client.workflows.versions.delete([WorkflowVersionId("my workflow", "1"), WorkflowVersionId("my workflow 2", "2")]){}Required capabilities:
workflowOrchestrationACL:WRITE
Delete specific versions of one or more workflows.
client.workflows.versions.delete(("my workflow", "1"))
from cognite.client.data_classes import WorkflowVersionId
client.workflows.versions.delete([WorkflowVersionId("my workflow", "1"), WorkflowVersionId("my workflow 2", "2")]){}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.
If true, ignore unknown version ids. If false, a 404 Not Found error is returned and none of the versions are deleted if any of the version ids are unknown.
1 - 100 elementsShow child attributes
Empty response.
The response is of type object.
Was this page helpful?