Skip to main content
POST
/
transformations
/
cancel
Python SDK
from cognite.client.data_classes import TransformationJobStatus
res = client.transformations.run(id = 1, timeout = 60.0)
if res.status == TransformationJobStatus.RUNNING:
    res.cancel()
{}

Authorizations

Authorization
string
header
required

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.

Body

application/json
externalId
string
required

The external ID provided by the client. Must be unique for the resource type.

Maximum string length: 255
Example:

"my.known.id"

Response

Empty response.

The response is of type object.

Last modified on April 23, 2026