{
  "opencollection": "1.0.0",
  "info": {
    "name": "Cognite 3D Asset Mapping Security categories API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Security categories",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List security categories",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{cluster}.cognitedata.com/api/v1/projects/{project}/securitycategories",
            "params": [
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Sort descending or ascending."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Cursor to use for paging through results."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Return up to this many results. Maximum is 1000. Default is 25."
              }
            ]
          },
          "docs": "\n\n> **Required capabilities:** `securityCategoriesAcl:LIST`\n\nRetrieves a list of all security categories for a project."
        },
        {
          "info": {
            "name": "Create security categories",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{cluster}.cognitedata.com/api/v1/projects/{project}/securitycategories",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "\n\n> **Required capabilities:** `securityCategoriesAcl:CREATE`\n\nCreates security categories with the given names. Duplicate names in the request are ignored.\nIf a security category with one of the provided names exists already, then the request will fail and no security categories are created.\n"
        },
        {
          "info": {
            "name": "Delete security categories",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{cluster}.cognitedata.com/api/v1/projects/{project}/securitycategories/delete",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "\n\n> **Required capabilities:** `securityCategoriesAcl:DELETE`\n\nDeletes the security categories that match the provided IDs.\nIf any of the provided IDs does not belong to an existing security category, then the request will fail and no security categories are deleted.\n"
        }
      ]
    }
  ],
  "bundled": true
}