Copy library

Creates a new library by copying an existing library, including all its symbols and geometries.

Securityoidc-token or oauth2-client-credentials or oauth2-open-industrial-data or oauth2-auth-code
Request
path Parameters
libraryId
required
string (CogniteExternalId) <= 255 characters

External ID of a library

Example: my.known.id
Request Body schema: application/json
required

Name of the new library

name
required
string

The name of the copied library

Responses
200

The copied library with its symbols and geometries

400

The response for a failed request.

post/diagram-parsing/libraries/{libraryId}/copy
Request samples
application/json
{
  • "name": "string"
}
Response samples
application/json
{
  • "createdTime": 1730204346000,
  • "externalId": "my.known.id",
  • "lastUpdatedTime": 1730204346000,
  • "name": "string",
  • "scope": "Global",
  • "symbols": [
    • {
      }
    ]
}