curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/extpipes/config/revert \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"externalId": "<string>",
"revision": 1073741823
}
'{
"externalId": "<string>",
"revision": 1073741823,
"config": "<string>",
"createdTime": 1730204346000,
"description": "<string>"
}Required capabilities:
extractionconfigsAcl:WRITE
Reverts the latest configuration revision to an older revision. Equivalent to creating a new revision identical to the old revision.
curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/extpipes/config/revert \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"externalId": "<string>",
"revision": 1073741823
}
'{
"externalId": "<string>",
"revision": 1073741823,
"config": "<string>",
"createdTime": 1730204346000,
"description": "<string>"
}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.
Response with the new latest configuration revision
External ID of the extraction pipeline this configuration revision belongs to.
1 - 255Revision number of this configuration.
0 <= x <= 2147483647Configuration revision contents.
The number of milliseconds since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), minus leap seconds.
x >= 01730204346000
A description of this config revision.
Was this page helpful?