Skip to main content
POST
/
securitycategories
JavaScript SDK
const securityCategories = [
  { name: 'Admins' },
  { name: 'Developers' },
];
const createdSecurityCategories = await client.securityCategories.create(securityCategories);
{
  "items": [
    {
      "name": "Guarded by vendor x",
      "id": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

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.

Body

application/json

List of categories to create

items
object[]
required

Response

201 - application/json

A list of security categories.

items
object[]
Last modified on April 23, 2026