Cancel a transformation

Securityoidc-token or oauth2-client-credentials or oauth2-open-industrial-data or oauth2-auth-code
Request
Request Body schema: application/json
required
One of:
externalId
required
string

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

Responses
200

Empty response.

400

The response for a failed request.

403

The response for a forbidden request.

post/transformations/cancel
Request samples
from cognite.client.data_classes import TransformationJobStatus
res = client.transformations.run(id = 1, timeout = 60.0)
if res.status == TransformationJobStatus.RUNNING:
    res.cancel()
Response samples
application/json
{ }