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
}
]
}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?