curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/diagram-parsing/libraries/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"externalId": "my.known.id",
"update": {
"name": "<string>"
}
}
]
}
'{
"items": [
{
"createdTime": 1730204346000,
"externalId": "my.known.id",
"lastUpdatedTime": 1730204346000,
"name": "<string>",
"scope": "Global"
}
]
}Required capabilities:
DiagramParsingAcl:WRITE
Update the properties of a set of libraries.
curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/diagram-parsing/libraries/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"externalId": "my.known.id",
"update": {
"name": "<string>"
}
}
]
}
'{
"items": [
{
"createdTime": 1730204346000,
"externalId": "my.known.id",
"lastUpdatedTime": 1730204346000,
"name": "<string>",
"scope": "Global"
}
]
}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 libraries to be updated.
List of libraries to update
1 - 100 elementsShow child attributes
List of libraries
Show child attributes
Was this page helpful?