New: build custom CDF applications with Cognite Flows. Documentation · What's new.
const securityCategories = [
{ name: 'Admins' },
{ name: 'Developers' },
];
const createdSecurityCategories = await client.securityCategories.create(securityCategories);{
"items": [
{
"name": "Guarded by vendor x",
"id": 123
}
]
}Required capabilities:
securityCategoriesAcl:CREATE
Creates security categories with the given names. Duplicate names in the request are ignored. If a security category with one of the provided names exists already, then the request will fail and no security categories are created.
const securityCategories = [
{ name: 'Admins' },
{ name: 'Developers' },
];
const createdSecurityCategories = await client.securityCategories.create(securityCategories);{
"items": [
{
"name": "Guarded by vendor x",
"id": 123
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.cognite.com/llms.txt
Use this file to discover all available pages before exploring further.
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 categories to create
Show child attributes
A list of security categories.
Show child attributes
Was this page helpful?