---
title: "Set permissions classification"
method: PUT
path: "/resources/permissions/v1/classification"
tags: ["Permissions"]
---

# Set permissions classification

`PUT /resources/permissions/v1/classification`

## Request

- Base URL: `http://localhost:8181`
- URL: `http://localhost:8181/resources/permissions/v1/classification`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/docs/resources/permissions/v1/classification/put.ts> (a function with typed inputs; its response is checked against the schema)

This route accepts an array of **`permissionIds`** and the type for these permissions classifications. This allows segregating which permissions will be used from self service

## Request body

- ClassifyPermissionsDto
  - `permissionIds` string[], required
  - `type` 'NEVER' | 'ALWAYS' | 'ASSIGNABLE', required

## Response `200`

- PermissionResponse
  - `id` string, required
  - `key` string, required
  - `name` string, required
  - `description` string, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `roleIds` string[], required
  - `categoryId` string, required
  - `fePermission` boolean, required

---

[API](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp.md) - [All operations](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/llms.txt) - [OpenAPI document](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/revisions/c496ae9e1c3e?raw)
