# Roles API reference

Base URL `https://api.beplan.io/v1`. Every operation is listed with its scope, permission, inputs, answers, errors and an example. Conventions: https://beplan.io/docs/api.md. OpenAPI document: https://beplan.io/docs/api/openapi.json.

## List the roles

`GET /organizations/{organizationId}/roles` · operationId `roles.list`

- Scope: `organization:read`
- Role permission: Any member who can see it
- Effect (`read`): Changes nothing.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Returns every role of the organization, highest first (Everyone, held by every member, last), with its permissions and how many members hold it, and `viewer`: what the calling user may do with roles (their rank, whether they manage roles, the permissions they can give). Any member can read it. A member's permissions are the union of their roles', adjusted per workspace by overrides (`GET …/workspaces/:workspaceId/permission-overrides`).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |

**200 OK**

- `data` (object, required)
  - `roles` (array of object, required)
    - `id` (string, required): The role's id (a UUID).
    - `name` (string, required)
    - `color` (string, required, nullable): The role's color in the Beplan app, `null` for none. one of `red`, `orange`, `amber`, `lime`, `green`, `teal`, `cyan`, `blue`, `indigo`, `violet`, `pink`, `slate` (may gain values).
    - `position` (number, required): Rank: a higher number sits above. Everyone is 0. A member can only manage roles and members ranked strictly below their own highest role (the owner manages everything).
    - `permissions` (array of string, required): The organization-wide permissions the role grants. one of `organization:update`, `organization:delete`, `organization:administrator`, `member:create`, `member:update`, `member:delete`, `invitation:create`, `invitation:cancel`, `role:manage`, `workspace:create`, `workspace:update`, `workspace:delete`, `workspace:viewAll`, `account:create`, `account:delete`, `media:read`, `media:create`, `media:update`, `media:delete`, `media:review`, `media:skipReview`, `media:rawFootageUpload`, `media:rawFootageManage`, `clips:read`, `clips:import`, `clips:edit`, `clips:delete`, `post:create`, `post:update`, `post:delete`, `post:publish`, `post:schedule`, `post:unschedule`, `post:review`, `kanbanColumn:create`, `kanbanColumn:update`, `kanbanColumn:delete`, `comment:create`, `comment:update`, `comment:delete`, `inbox:read`, `inbox:reply`, `inbox:moderate`, `inbox:assign`, `inbox:messages`, `creatorPage:update`, `creatorPage:publish`, `creatorPage:inquiries`, `creatorPage:subscribers`, `goLive:read`, `goLive:manage`, `deals:read`, `deals:manage`, `deals:finances`, `deals:originalFiles`, `companies:manage`, `billing:update`, `integration:manage`, `app:manage` (may gain values).
    - `isEveryone` (boolean, required): The Everyone role: every member holds it; it can't be given, renamed or deleted, only its permissions change.
    - `builtinKey` (string, required, nullable): For a default role, the built-in role it was created from; `null` for roles the organization made. one of `admin`, `manager`, `member`, `media_editor`, `vod_scrubber`, `client` (may gain values).
    - `memberCount` (number, required): How many members hold the role (Everyone: every member).
  - `viewer` (object, required, RolesViewer)
    - `isOwner` (boolean, required): The calling user is the owner (manages every role).
    - `topPosition` (number, required): The calling user's highest role position: they manage roles strictly below it (the owner: every role).
    - `canManageRoles` (boolean, required): The calling user holds `role:manage` (or is the owner).
    - `grantablePermissions` (array of string, required): The permissions the calling user can put into a role or an override: the ones they hold. one of `organization:update`, `organization:delete`, `organization:administrator`, `member:create`, `member:update`, `member:delete`, `invitation:create`, `invitation:cancel`, `role:manage`, `workspace:create`, `workspace:update`, `workspace:delete`, `workspace:viewAll`, `account:create`, `account:delete`, `media:read`, `media:create`, `media:update`, `media:delete`, `media:review`, `media:skipReview`, `media:rawFootageUpload`, `media:rawFootageManage`, `clips:read`, `clips:import`, `clips:edit`, `clips:delete`, `post:create`, `post:update`, `post:delete`, `post:publish`, `post:schedule`, `post:unschedule`, `post:review`, `kanbanColumn:create`, `kanbanColumn:update`, `kanbanColumn:delete`, `comment:create`, `comment:update`, `comment:delete`, `inbox:read`, `inbox:reply`, `inbox:moderate`, `inbox:assign`, `inbox:messages`, `creatorPage:update`, `creatorPage:publish`, `creatorPage:inquiries`, `creatorPage:subscribers`, `goLive:read`, `goLive:manage`, `deals:read`, `deals:manage`, `deals:finances`, `deals:originalFiles`, `companies:manage`, `billing:update`, `integration:manage`, `app:manage` (may gain values).

**Errors**

| Status | Code | Message |
|---|---|---|
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Admin, a custom role and Everyone**

```bash
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/roles" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 200:

```json
{
  "data": {
    "roles": [
      {
        "id": "0d7c5c8e-3f0e-4c7a-9a8e-5d1f6b2a9c41",
        "name": "Admin",
        "color": "red",
        "position": 2,
        "permissions": [
          "member:update",
          "role:manage",
          "post:create",
          "post:update",
          "comment:create"
        ],
        "isEveryone": false,
        "builtinKey": "admin",
        "memberCount": 1
      },
      {
        "id": "9b2d4f61-7c3a-4e85-b1d0-6a8f2c5e7d93",
        "name": "Writer",
        "color": "green",
        "position": 1,
        "permissions": [
          "post:create",
          "post:update",
          "comment:create"
        ],
        "isEveryone": false,
        "builtinKey": null,
        "memberCount": 0
      },
      {
        "id": "c5f0e8d2-1a4b-4c7e-8f3d-9e2b6a1c4d57",
        "name": "Everyone",
        "color": null,
        "position": 0,
        "permissions": [
          "comment:create"
        ],
        "isEveryone": true,
        "builtinKey": null,
        "memberCount": 3
      }
    ],
    "viewer": {
      "isOwner": true,
      "topPosition": 3,
      "canManageRoles": true,
      "grantablePermissions": [
        "member:update",
        "role:manage",
        "post:create",
        "post:update",
        "comment:create"
      ]
    }
  }
}
```


## Create a role

`POST /organizations/{organizationId}/roles` · operationId `roles.create`

- Scope: `roles:write`
- Role permission: Manage roles (`role:manage`)
- Effect (`write`): Changes data in Beplan.
- Idempotency: Send an `Idempotency-Key` to retry safely: the same key with the same body within 24 hours returns the stored response.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Creates a role, placed just above Everyone and held by nobody yet (give it with `PUT …/members/:memberId/roles`; move it with `PUT …/roles/order`). The name is 1 to 40 characters and need not be unique; `color` and `permissions` are optional. An organization has at most 100 roles (`409 ROLE_LIMIT_REACHED`). Answers `201` with the role.

Roles are ranked by `position` (higher sits above). The calling user can only create, edit, move or delete roles strictly below their own highest role (`403 ROLE_NOT_MANAGEABLE`; the owner manages every role), and only put in permissions they hold themselves (`403 PERMISSION_NOT_GRANTABLE`; `viewer.grantablePermissions` of `GET …/roles` lists them). A token never does more than its user. Editing roles needs the Team Collaboration add-on (`402 PLAN_UPGRADE_REQUIRED`). `integration:manage`, `app:manage` and `organization:administrator` can only be given or taken away in the Beplan app: through the API, adding or removing them on a role, deleting a role that holds one, or giving or taking away such a role answers `403 PERMISSION_APP_ONLY`.

Needs a token given **all** the workspaces of the organization: one narrowed to chosen workspaces answers `403 INTEGRATION_SELECTION_TOO_NARROW`, since roles apply in every workspace.

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |

**Request body** (JSON, required)

- `name` (string, required): 1–40 characters.
- `color` (string, optional, nullable): one of `red`, `orange`, `amber`, `lime`, `green`, `teal`, `cyan`, `blue`, `indigo`, `violet`, `pink`, `slate`.
- `permissions` (array of string, optional): one of `organization:update`, `organization:delete`, `organization:administrator`, `member:create`, `member:update`, `member:delete`, `invitation:create`, `invitation:cancel`, `role:manage`, `workspace:create`, `workspace:update`, `workspace:delete`, `workspace:viewAll`, `account:create`, `account:delete`, `media:read`, `media:create`, `media:update`, `media:delete`, `media:review`, `media:skipReview`, `media:rawFootageUpload`, `media:rawFootageManage`, `clips:read`, `clips:import`, `clips:edit`, `clips:delete`, `post:create`, `post:update`, `post:delete`, `post:publish`, `post:schedule`, `post:unschedule`, `post:review`, `kanbanColumn:create`, `kanbanColumn:update`, `kanbanColumn:delete`, `comment:create`, `comment:update`, `comment:delete`, `inbox:read`, `inbox:reply`, `inbox:moderate`, `inbox:assign`, `inbox:messages`, `creatorPage:update`, `creatorPage:publish`, `creatorPage:inquiries`, `creatorPage:subscribers`, `goLive:read`, `goLive:manage`, `deals:read`, `deals:manage`, `deals:finances`, `deals:originalFiles`, `companies:manage`, `billing:update`, `integration:manage`, `app:manage`; at most 59 items.

**201 Created**

- `data` (object, required, OrganizationRole)
  - `id` (string, required): The role's id (a UUID).
  - `name` (string, required)
  - `color` (string, required, nullable): The role's color in the Beplan app, `null` for none. one of `red`, `orange`, `amber`, `lime`, `green`, `teal`, `cyan`, `blue`, `indigo`, `violet`, `pink`, `slate` (may gain values).
  - `position` (number, required): Rank: a higher number sits above. Everyone is 0. A member can only manage roles and members ranked strictly below their own highest role (the owner manages everything).
  - `permissions` (array of string, required): The organization-wide permissions the role grants. one of `organization:update`, `organization:delete`, `organization:administrator`, `member:create`, `member:update`, `member:delete`, `invitation:create`, `invitation:cancel`, `role:manage`, `workspace:create`, `workspace:update`, `workspace:delete`, `workspace:viewAll`, `account:create`, `account:delete`, `media:read`, `media:create`, `media:update`, `media:delete`, `media:review`, `media:skipReview`, `media:rawFootageUpload`, `media:rawFootageManage`, `clips:read`, `clips:import`, `clips:edit`, `clips:delete`, `post:create`, `post:update`, `post:delete`, `post:publish`, `post:schedule`, `post:unschedule`, `post:review`, `kanbanColumn:create`, `kanbanColumn:update`, `kanbanColumn:delete`, `comment:create`, `comment:update`, `comment:delete`, `inbox:read`, `inbox:reply`, `inbox:moderate`, `inbox:assign`, `inbox:messages`, `creatorPage:update`, `creatorPage:publish`, `creatorPage:inquiries`, `creatorPage:subscribers`, `goLive:read`, `goLive:manage`, `deals:read`, `deals:manage`, `deals:finances`, `deals:originalFiles`, `companies:manage`, `billing:update`, `integration:manage`, `app:manage` (may gain values).
  - `isEveryone` (boolean, required): The Everyone role: every member holds it; it can't be given, renamed or deleted, only its permissions change.
  - `builtinKey` (string, required, nullable): For a default role, the built-in role it was created from; `null` for roles the organization made. one of `admin`, `manager`, `member`, `media_editor`, `vod_scrubber`, `client` (may gain values).
  - `memberCount` (number, required): How many members hold the role (Everyone: every member).

**Errors**

| Status | Code | Message |
|---|---|---|
| 400 | `VALIDATION_FAILED` | Some of the information sent is invalid. |
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 403 | `PERMISSION_APP_ONLY` | Access to integrations, developer apps and administrator rights can only be given or taken away in the Beplan app. Nothing was changed. |
| 403 | `PERMISSION_NOT_GRANTABLE` | You can only give permissions you have yourself. |
| 403 | `ROLE_NOT_MANAGEABLE` | You can only manage roles below your highest role. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `ROLE_NOT_FOUND` | This role doesn't exist in this organization. |
| 409 | `ROLE_LIMIT_REACHED` | An organization can have up to 100 roles. Delete one to create another. |

Also, like every operation: `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `INTEGRATION_SELECTION_TOO_NARROW` (403), `CONFLICT` (409), `IDEMPOTENCY_KEY_REUSED` (409), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: A role for writers**

```bash
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/roles" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Writer",
  "color": "green",
  "permissions": [
    "post:create",
    "post:update",
    "comment:create"
  ]
}'
```

Answers 201:

```json
{
  "data": {
    "id": "9b2d4f61-7c3a-4e85-b1d0-6a8f2c5e7d93",
    "name": "Writer",
    "color": "green",
    "position": 1,
    "permissions": [
      "post:create",
      "post:update",
      "comment:create"
    ],
    "isEveryone": false,
    "builtinKey": null,
    "memberCount": 0
  }
}
```


## Reorder the roles

`PUT /organizations/{organizationId}/roles/order` · operationId `roles.reorder`

- Scope: `roles:write`
- Role permission: Manage roles (`role:manage`)
- Effect (`write`): Changes data in Beplan.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Sets the order of the roles below the calling user: `roleIds` lists exactly every role strictly below their highest one (Everyone excluded), highest first, or the request answers `400 VALIDATION_FAILED`. Roles at or above the caller keep their place. Rank decides who can manage whom, so this changes what members below can do to each other. Answers with every role, as `GET …/roles` does.

Roles are ranked by `position` (higher sits above). The calling user can only create, edit, move or delete roles strictly below their own highest role (`403 ROLE_NOT_MANAGEABLE`; the owner manages every role), and only put in permissions they hold themselves (`403 PERMISSION_NOT_GRANTABLE`; `viewer.grantablePermissions` of `GET …/roles` lists them). A token never does more than its user. Editing roles needs the Team Collaboration add-on (`402 PLAN_UPGRADE_REQUIRED`). `integration:manage`, `app:manage` and `organization:administrator` can only be given or taken away in the Beplan app: through the API, adding or removing them on a role, deleting a role that holds one, or giving or taking away such a role answers `403 PERMISSION_APP_ONLY`.

Needs a token given **all** the workspaces of the organization: one narrowed to chosen workspaces answers `403 INTEGRATION_SELECTION_TOO_NARROW`, since roles apply in every workspace.

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |

**Request body** (JSON, required)

- `roleIds` (array of string (uuid), required): Every role strictly below the calling user (Everyone excluded), highest first: exactly that set, or `400 VALIDATION_FAILED`. at most 100 items.

**200 OK**

- `data` (object, required)
  - `roles` (array of object, required)
    - `id` (string, required): The role's id (a UUID).
    - `name` (string, required)
    - `color` (string, required, nullable): The role's color in the Beplan app, `null` for none. one of `red`, `orange`, `amber`, `lime`, `green`, `teal`, `cyan`, `blue`, `indigo`, `violet`, `pink`, `slate` (may gain values).
    - `position` (number, required): Rank: a higher number sits above. Everyone is 0. A member can only manage roles and members ranked strictly below their own highest role (the owner manages everything).
    - `permissions` (array of string, required): The organization-wide permissions the role grants. one of `organization:update`, `organization:delete`, `organization:administrator`, `member:create`, `member:update`, `member:delete`, `invitation:create`, `invitation:cancel`, `role:manage`, `workspace:create`, `workspace:update`, `workspace:delete`, `workspace:viewAll`, `account:create`, `account:delete`, `media:read`, `media:create`, `media:update`, `media:delete`, `media:review`, `media:skipReview`, `media:rawFootageUpload`, `media:rawFootageManage`, `clips:read`, `clips:import`, `clips:edit`, `clips:delete`, `post:create`, `post:update`, `post:delete`, `post:publish`, `post:schedule`, `post:unschedule`, `post:review`, `kanbanColumn:create`, `kanbanColumn:update`, `kanbanColumn:delete`, `comment:create`, `comment:update`, `comment:delete`, `inbox:read`, `inbox:reply`, `inbox:moderate`, `inbox:assign`, `inbox:messages`, `creatorPage:update`, `creatorPage:publish`, `creatorPage:inquiries`, `creatorPage:subscribers`, `goLive:read`, `goLive:manage`, `deals:read`, `deals:manage`, `deals:finances`, `deals:originalFiles`, `companies:manage`, `billing:update`, `integration:manage`, `app:manage` (may gain values).
    - `isEveryone` (boolean, required): The Everyone role: every member holds it; it can't be given, renamed or deleted, only its permissions change.
    - `builtinKey` (string, required, nullable): For a default role, the built-in role it was created from; `null` for roles the organization made. one of `admin`, `manager`, `member`, `media_editor`, `vod_scrubber`, `client` (may gain values).
    - `memberCount` (number, required): How many members hold the role (Everyone: every member).
  - `viewer` (object, required, RolesViewer)
    - `isOwner` (boolean, required): The calling user is the owner (manages every role).
    - `topPosition` (number, required): The calling user's highest role position: they manage roles strictly below it (the owner: every role).
    - `canManageRoles` (boolean, required): The calling user holds `role:manage` (or is the owner).
    - `grantablePermissions` (array of string, required): The permissions the calling user can put into a role or an override: the ones they hold. one of `organization:update`, `organization:delete`, `organization:administrator`, `member:create`, `member:update`, `member:delete`, `invitation:create`, `invitation:cancel`, `role:manage`, `workspace:create`, `workspace:update`, `workspace:delete`, `workspace:viewAll`, `account:create`, `account:delete`, `media:read`, `media:create`, `media:update`, `media:delete`, `media:review`, `media:skipReview`, `media:rawFootageUpload`, `media:rawFootageManage`, `clips:read`, `clips:import`, `clips:edit`, `clips:delete`, `post:create`, `post:update`, `post:delete`, `post:publish`, `post:schedule`, `post:unschedule`, `post:review`, `kanbanColumn:create`, `kanbanColumn:update`, `kanbanColumn:delete`, `comment:create`, `comment:update`, `comment:delete`, `inbox:read`, `inbox:reply`, `inbox:moderate`, `inbox:assign`, `inbox:messages`, `creatorPage:update`, `creatorPage:publish`, `creatorPage:inquiries`, `creatorPage:subscribers`, `goLive:read`, `goLive:manage`, `deals:read`, `deals:manage`, `deals:finances`, `deals:originalFiles`, `companies:manage`, `billing:update`, `integration:manage`, `app:manage` (may gain values).

**Errors**

| Status | Code | Message |
|---|---|---|
| 400 | `VALIDATION_FAILED` | Some of the information sent is invalid. |
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |

Also, like every operation: `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `INTEGRATION_SELECTION_TOO_NARROW` (403), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Writer above Client**

```bash
curl -X PUT "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/roles/order" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Content-Type: application/json" \
  -d '{
  "roleIds": [
    "9b2d4f61-7c3a-4e85-b1d0-6a8f2c5e7d93",
    "4e1a7c39-2d6b-4f08-9c5e-3b7d1a8f6e20"
  ]
}'
```

Answers 200:

```json
{
  "data": {
    "roles": [
      {
        "id": "9b2d4f61-7c3a-4e85-b1d0-6a8f2c5e7d93",
        "name": "Writer",
        "color": "green",
        "position": 2,
        "permissions": [
          "post:create",
          "post:update",
          "comment:create"
        ],
        "isEveryone": false,
        "builtinKey": null,
        "memberCount": 0
      },
      {
        "id": "4e1a7c39-2d6b-4f08-9c5e-3b7d1a8f6e20",
        "name": "Client",
        "color": "slate",
        "position": 1,
        "permissions": [
          "comment:create"
        ],
        "isEveryone": false,
        "builtinKey": "client",
        "memberCount": 2
      },
      {
        "id": "c5f0e8d2-1a4b-4c7e-8f3d-9e2b6a1c4d57",
        "name": "Everyone",
        "color": null,
        "position": 0,
        "permissions": [],
        "isEveryone": true,
        "builtinKey": null,
        "memberCount": 3
      }
    ],
    "viewer": {
      "isOwner": true,
      "topPosition": 3,
      "canManageRoles": true,
      "grantablePermissions": [
        "post:create",
        "post:update",
        "comment:create"
      ]
    }
  }
}
```


## Edit a role

`PATCH /organizations/{organizationId}/roles/{roleId}` · operationId `roles.update`

- Scope: `roles:write`
- Role permission: Manage roles (`role:manage`)
- Effect (`write`): Changes data in Beplan.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Changes a role's name, color or permissions; fields left out stay as they are. `permissions` replaces the whole list, and only the permissions added or removed must be ones the caller holds. Everyone only takes `permissions` (`409 EVERYONE_ROLE_LOCKED` for a name or color). Every holder's access changes at once. Answers with the role.

Roles are ranked by `position` (higher sits above). The calling user can only create, edit, move or delete roles strictly below their own highest role (`403 ROLE_NOT_MANAGEABLE`; the owner manages every role), and only put in permissions they hold themselves (`403 PERMISSION_NOT_GRANTABLE`; `viewer.grantablePermissions` of `GET …/roles` lists them). A token never does more than its user. Editing roles needs the Team Collaboration add-on (`402 PLAN_UPGRADE_REQUIRED`). `integration:manage`, `app:manage` and `organization:administrator` can only be given or taken away in the Beplan app: through the API, adding or removing them on a role, deleting a role that holds one, or giving or taking away such a role answers `403 PERMISSION_APP_ONLY`.

Needs a token given **all** the workspaces of the organization: one narrowed to chosen workspaces answers `403 INTEGRATION_SELECTION_TOO_NARROW`, since roles apply in every workspace.

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `roleId` | path | string (uuid) | yes |  |

**Request body** (JSON, required)

- `name` (string, optional): 1–40 characters.
- `color` (string, optional, nullable): one of `red`, `orange`, `amber`, `lime`, `green`, `teal`, `cyan`, `blue`, `indigo`, `violet`, `pink`, `slate`.
- `permissions` (array of string, optional): one of `organization:update`, `organization:delete`, `organization:administrator`, `member:create`, `member:update`, `member:delete`, `invitation:create`, `invitation:cancel`, `role:manage`, `workspace:create`, `workspace:update`, `workspace:delete`, `workspace:viewAll`, `account:create`, `account:delete`, `media:read`, `media:create`, `media:update`, `media:delete`, `media:review`, `media:skipReview`, `media:rawFootageUpload`, `media:rawFootageManage`, `clips:read`, `clips:import`, `clips:edit`, `clips:delete`, `post:create`, `post:update`, `post:delete`, `post:publish`, `post:schedule`, `post:unschedule`, `post:review`, `kanbanColumn:create`, `kanbanColumn:update`, `kanbanColumn:delete`, `comment:create`, `comment:update`, `comment:delete`, `inbox:read`, `inbox:reply`, `inbox:moderate`, `inbox:assign`, `inbox:messages`, `creatorPage:update`, `creatorPage:publish`, `creatorPage:inquiries`, `creatorPage:subscribers`, `goLive:read`, `goLive:manage`, `deals:read`, `deals:manage`, `deals:finances`, `deals:originalFiles`, `companies:manage`, `billing:update`, `integration:manage`, `app:manage`; at most 59 items.

**200 OK**

- `data` (object, required, OrganizationRole)
  - `id` (string, required): The role's id (a UUID).
  - `name` (string, required)
  - `color` (string, required, nullable): The role's color in the Beplan app, `null` for none. one of `red`, `orange`, `amber`, `lime`, `green`, `teal`, `cyan`, `blue`, `indigo`, `violet`, `pink`, `slate` (may gain values).
  - `position` (number, required): Rank: a higher number sits above. Everyone is 0. A member can only manage roles and members ranked strictly below their own highest role (the owner manages everything).
  - `permissions` (array of string, required): The organization-wide permissions the role grants. one of `organization:update`, `organization:delete`, `organization:administrator`, `member:create`, `member:update`, `member:delete`, `invitation:create`, `invitation:cancel`, `role:manage`, `workspace:create`, `workspace:update`, `workspace:delete`, `workspace:viewAll`, `account:create`, `account:delete`, `media:read`, `media:create`, `media:update`, `media:delete`, `media:review`, `media:skipReview`, `media:rawFootageUpload`, `media:rawFootageManage`, `clips:read`, `clips:import`, `clips:edit`, `clips:delete`, `post:create`, `post:update`, `post:delete`, `post:publish`, `post:schedule`, `post:unschedule`, `post:review`, `kanbanColumn:create`, `kanbanColumn:update`, `kanbanColumn:delete`, `comment:create`, `comment:update`, `comment:delete`, `inbox:read`, `inbox:reply`, `inbox:moderate`, `inbox:assign`, `inbox:messages`, `creatorPage:update`, `creatorPage:publish`, `creatorPage:inquiries`, `creatorPage:subscribers`, `goLive:read`, `goLive:manage`, `deals:read`, `deals:manage`, `deals:finances`, `deals:originalFiles`, `companies:manage`, `billing:update`, `integration:manage`, `app:manage` (may gain values).
  - `isEveryone` (boolean, required): The Everyone role: every member holds it; it can't be given, renamed or deleted, only its permissions change.
  - `builtinKey` (string, required, nullable): For a default role, the built-in role it was created from; `null` for roles the organization made. one of `admin`, `manager`, `member`, `media_editor`, `vod_scrubber`, `client` (may gain values).
  - `memberCount` (number, required): How many members hold the role (Everyone: every member).

**Errors**

| Status | Code | Message |
|---|---|---|
| 400 | `VALIDATION_FAILED` | Some of the information sent is invalid. |
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 403 | `PERMISSION_APP_ONLY` | Access to integrations, developer apps and administrator rights can only be given or taken away in the Beplan app. Nothing was changed. |
| 403 | `PERMISSION_NOT_GRANTABLE` | You can only give permissions you have yourself. |
| 403 | `ROLE_NOT_MANAGEABLE` | You can only manage roles below your highest role. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `ROLE_NOT_FOUND` | This role doesn't exist in this organization. |
| 409 | `EVERYONE_ROLE_LOCKED` | Everyone can't be renamed, recolored, moved, given or deleted. You can change its permissions. |

Also, like every operation: `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `INTEGRATION_SELECTION_TOO_NARROW` (403), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Let writers schedule**

```bash
curl -X PATCH "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/roles/9b2d4f61-7c3a-4e85-b1d0-6a8f2c5e7d93" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Content-Type: application/json" \
  -d '{
  "permissions": [
    "post:create",
    "post:update",
    "post:schedule",
    "comment:create"
  ]
}'
```

Answers 200:

```json
{
  "data": {
    "id": "9b2d4f61-7c3a-4e85-b1d0-6a8f2c5e7d93",
    "name": "Writer",
    "color": "green",
    "position": 1,
    "permissions": [
      "post:create",
      "post:update",
      "post:schedule",
      "comment:create"
    ],
    "isEveryone": false,
    "builtinKey": null,
    "memberCount": 0
  }
}
```


## Delete a role

`DELETE /organizations/{organizationId}/roles/{roleId}` · operationId `roles.delete`

- Scope: `roles:write`
- Role permission: Manage roles (`role:manage`)
- Effect (`destructive`): Deletes data or cannot be undone.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Deletes a role: its holders lose what it granted at once (they keep their other roles and Everyone), and its workspace overrides go with it. Everyone can't be deleted (`409 EVERYONE_ROLE_LOCKED`). Cannot be undone. Answers `204`.

Roles are ranked by `position` (higher sits above). The calling user can only create, edit, move or delete roles strictly below their own highest role (`403 ROLE_NOT_MANAGEABLE`; the owner manages every role), and only put in permissions they hold themselves (`403 PERMISSION_NOT_GRANTABLE`; `viewer.grantablePermissions` of `GET …/roles` lists them). A token never does more than its user. Editing roles needs the Team Collaboration add-on (`402 PLAN_UPGRADE_REQUIRED`). `integration:manage`, `app:manage` and `organization:administrator` can only be given or taken away in the Beplan app: through the API, adding or removing them on a role, deleting a role that holds one, or giving or taking away such a role answers `403 PERMISSION_APP_ONLY`.

Needs a token given **all** the workspaces of the organization: one narrowed to chosen workspaces answers `403 INTEGRATION_SELECTION_TOO_NARROW`, since roles apply in every workspace.

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `roleId` | path | string (uuid) | yes |  |

**204 No content**

No content.

**Errors**

| Status | Code | Message |
|---|---|---|
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 403 | `PERMISSION_APP_ONLY` | Access to integrations, developer apps and administrator rights can only be given or taken away in the Beplan app. Nothing was changed. |
| 403 | `ROLE_NOT_MANAGEABLE` | You can only manage roles below your highest role. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `ROLE_NOT_FOUND` | This role doesn't exist in this organization. |
| 409 | `EVERYONE_ROLE_LOCKED` | Everyone can't be renamed, recolored, moved, given or deleted. You can change its permissions. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `INTEGRATION_SELECTION_TOO_NARROW` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Delete a role**

```bash
curl -X DELETE "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/roles/9b2d4f61-7c3a-4e85-b1d0-6a8f2c5e7d93" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 204 with no content.


## Get my permissions in a workspace

`GET /organizations/{organizationId}/workspaces/{workspaceId}/me` · operationId `workspaces.currentMember.get`

- Scope: `organization:read`
- Role permission: Any member who can see it
- Effect (`read`): Changes nothing.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Returns the permissions the calling user holds in one workspace: their roles' permissions with the workspace's overrides applied. Call it to know in advance which workspace operations will answer `403 MISSING_PERMISSION`; a token never does more than its user, whatever its scopes. `GET …/members/me` gives the organization-level ones.

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |

**200 OK**

- `data` (object, required)
  - `permissions` (array of string, required): one of `organization:update`, `organization:delete`, `organization:administrator`, `member:create`, `member:update`, `member:delete`, `invitation:create`, `invitation:cancel`, `role:manage`, `workspace:create`, `workspace:update`, `workspace:delete`, `workspace:viewAll`, `account:create`, `account:delete`, `media:read`, `media:create`, `media:update`, `media:delete`, `media:review`, `media:skipReview`, `media:rawFootageUpload`, `media:rawFootageManage`, `clips:read`, `clips:import`, `clips:edit`, `clips:delete`, `post:create`, `post:update`, `post:delete`, `post:publish`, `post:schedule`, `post:unschedule`, `post:review`, `kanbanColumn:create`, `kanbanColumn:update`, `kanbanColumn:delete`, `comment:create`, `comment:update`, `comment:delete`, `inbox:read`, `inbox:reply`, `inbox:moderate`, `inbox:assign`, `inbox:messages`, `creatorPage:update`, `creatorPage:publish`, `creatorPage:inquiries`, `creatorPage:subscribers`, `goLive:read`, `goLive:manage`, `deals:read`, `deals:manage`, `deals:finances`, `deals:originalFiles`, `companies:manage`, `billing:update`, `integration:manage`, `app:manage` (may gain values).

**Errors**

| Status | Code | Message |
|---|---|---|
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: A writer**

```bash
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/me" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 200:

```json
{
  "data": {
    "permissions": [
      "post:create",
      "post:update",
      "post:schedule",
      "comment:create"
    ]
  }
}
```


## List a workspace's permission overrides

`GET /organizations/{organizationId}/workspaces/{workspaceId}/permission-overrides` · operationId `workspaces.permissionOverrides.list`

- Scope: `organization:read`
- Role permission: Manage workspace settings (`workspace:update`)
- Effect (`read`): Changes nothing.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Returns the overrides of one workspace: for a role or a single member, the workspace permissions allowed on top of their roles and the ones denied there. They apply in order: Everyone's, then the member's roles' together (an allow on one role beats a deny on another), then the member's own, each deny before its allow. Only users who can edit the workspace's settings can read it. Role ids match `GET …/roles`, member ids `GET …/members`.

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |

**200 OK**

- `data` (array of object, required)
  - `target` (object, required, PermissionOverrideTarget): Who the override is for: a role (`roleId`) or one member (`memberId`, a membership id).
    - variant type: "role":
      - `type` (string, required): always `"role"`.
      - `roleId` (string, required)
    - variant type: "member":
      - `type` (string, required): always `"member"`.
      - `memberId` (string, required)
  - `allow` (array of string, required): Workspace permissions granted in this workspace on top of the roles. one of `organization:update`, `organization:delete`, `organization:administrator`, `member:create`, `member:update`, `member:delete`, `invitation:create`, `invitation:cancel`, `role:manage`, `workspace:create`, `workspace:update`, `workspace:delete`, `workspace:viewAll`, `account:create`, `account:delete`, `media:read`, `media:create`, `media:update`, `media:delete`, `media:review`, `media:skipReview`, `media:rawFootageUpload`, `media:rawFootageManage`, `clips:read`, `clips:import`, `clips:edit`, `clips:delete`, `post:create`, `post:update`, `post:delete`, `post:publish`, `post:schedule`, `post:unschedule`, `post:review`, `kanbanColumn:create`, `kanbanColumn:update`, `kanbanColumn:delete`, `comment:create`, `comment:update`, `comment:delete`, `inbox:read`, `inbox:reply`, `inbox:moderate`, `inbox:assign`, `inbox:messages`, `creatorPage:update`, `creatorPage:publish`, `creatorPage:inquiries`, `creatorPage:subscribers`, `goLive:read`, `goLive:manage`, `deals:read`, `deals:manage`, `deals:finances`, `deals:originalFiles`, `companies:manage`, `billing:update`, `integration:manage`, `app:manage` (may gain values).
  - `deny` (array of string, required): Workspace permissions taken away in this workspace. one of `organization:update`, `organization:delete`, `organization:administrator`, `member:create`, `member:update`, `member:delete`, `invitation:create`, `invitation:cancel`, `role:manage`, `workspace:create`, `workspace:update`, `workspace:delete`, `workspace:viewAll`, `account:create`, `account:delete`, `media:read`, `media:create`, `media:update`, `media:delete`, `media:review`, `media:skipReview`, `media:rawFootageUpload`, `media:rawFootageManage`, `clips:read`, `clips:import`, `clips:edit`, `clips:delete`, `post:create`, `post:update`, `post:delete`, `post:publish`, `post:schedule`, `post:unschedule`, `post:review`, `kanbanColumn:create`, `kanbanColumn:update`, `kanbanColumn:delete`, `comment:create`, `comment:update`, `comment:delete`, `inbox:read`, `inbox:reply`, `inbox:moderate`, `inbox:assign`, `inbox:messages`, `creatorPage:update`, `creatorPage:publish`, `creatorPage:inquiries`, `creatorPage:subscribers`, `goLive:read`, `goLive:manage`, `deals:read`, `deals:manage`, `deals:finances`, `deals:originalFiles`, `companies:manage`, `billing:update`, `integration:manage`, `app:manage` (may gain values).

**Errors**

| Status | Code | Message |
|---|---|---|
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Writers may schedule here, one member may not delete**

```bash
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/permission-overrides" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 200:

```json
{
  "data": [
    {
      "target": {
        "type": "role",
        "roleId": "9b2d4f61-7c3a-4e85-b1d0-6a8f2c5e7d93"
      },
      "allow": [
        "post:schedule"
      ],
      "deny": []
    },
    {
      "target": {
        "type": "member",
        "memberId": "Qe4hT8vN2sLw6KpZ1cXbR"
      },
      "allow": [],
      "deny": [
        "post:delete"
      ]
    }
  ]
}
```


## Set a member's override in a workspace

`PUT /organizations/{organizationId}/workspaces/{workspaceId}/permission-overrides/members/{memberId}` · operationId `workspaces.permissionOverrides.members.set`

- Scope: `roles:write`
- Role permission: Manage roles (`role:manage`)
- Effect (`write`): Changes data in Beplan.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Replaces one member's override in one workspace: `allow` grants workspace permissions on top of the roles, `deny` takes them away there (see `GET …/permission-overrides` for the order they apply in; a permission can't be in both, and only workspace permissions can be overridden: `400 VALIDATION_FAILED`). Both lists empty removes the override, and the answer is `null`. Only the permissions added to or taken out of either list must be ones the caller holds in that workspace. Access changes at once.

Roles are ranked by `position` (higher sits above). The calling user can only create, edit, move or delete roles strictly below their own highest role (`403 ROLE_NOT_MANAGEABLE`; the owner manages every role), and only put in permissions they hold themselves (`403 PERMISSION_NOT_GRANTABLE`; `viewer.grantablePermissions` of `GET …/roles` lists them). A token never does more than its user. Editing roles needs the Team Collaboration add-on (`402 PLAN_UPGRADE_REQUIRED`). `integration:manage`, `app:manage` and `organization:administrator` can only be given or taken away in the Beplan app: through the API, adding or removing them on a role, deleting a role that holds one, or giving or taking away such a role answers `403 PERMISSION_APP_ONLY`.

Needs a token given **all** the workspaces of the organization: one narrowed to chosen workspaces answers `403 INTEGRATION_SELECTION_TOO_NARROW`, since roles apply in every workspace. Member ids come from `GET …/members`; the member must rank strictly below the caller, and never be the caller (`403 MEMBER_NOT_MANAGEABLE`, `403 CANNOT_MANAGE_SELF`).

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `memberId` | path | string | yes | 1–128 characters |

**Request body** (JSON, required)

- `allow` (array of string, required): one of `organization:update`, `organization:delete`, `organization:administrator`, `member:create`, `member:update`, `member:delete`, `invitation:create`, `invitation:cancel`, `role:manage`, `workspace:create`, `workspace:update`, `workspace:delete`, `workspace:viewAll`, `account:create`, `account:delete`, `media:read`, `media:create`, `media:update`, `media:delete`, `media:review`, `media:skipReview`, `media:rawFootageUpload`, `media:rawFootageManage`, `clips:read`, `clips:import`, `clips:edit`, `clips:delete`, `post:create`, `post:update`, `post:delete`, `post:publish`, `post:schedule`, `post:unschedule`, `post:review`, `kanbanColumn:create`, `kanbanColumn:update`, `kanbanColumn:delete`, `comment:create`, `comment:update`, `comment:delete`, `inbox:read`, `inbox:reply`, `inbox:moderate`, `inbox:assign`, `inbox:messages`, `creatorPage:update`, `creatorPage:publish`, `creatorPage:inquiries`, `creatorPage:subscribers`, `goLive:read`, `goLive:manage`, `deals:read`, `deals:manage`, `deals:finances`, `deals:originalFiles`, `companies:manage`, `billing:update`, `integration:manage`, `app:manage`; at most 59 items.
- `deny` (array of string, required): one of `organization:update`, `organization:delete`, `organization:administrator`, `member:create`, `member:update`, `member:delete`, `invitation:create`, `invitation:cancel`, `role:manage`, `workspace:create`, `workspace:update`, `workspace:delete`, `workspace:viewAll`, `account:create`, `account:delete`, `media:read`, `media:create`, `media:update`, `media:delete`, `media:review`, `media:skipReview`, `media:rawFootageUpload`, `media:rawFootageManage`, `clips:read`, `clips:import`, `clips:edit`, `clips:delete`, `post:create`, `post:update`, `post:delete`, `post:publish`, `post:schedule`, `post:unschedule`, `post:review`, `kanbanColumn:create`, `kanbanColumn:update`, `kanbanColumn:delete`, `comment:create`, `comment:update`, `comment:delete`, `inbox:read`, `inbox:reply`, `inbox:moderate`, `inbox:assign`, `inbox:messages`, `creatorPage:update`, `creatorPage:publish`, `creatorPage:inquiries`, `creatorPage:subscribers`, `goLive:read`, `goLive:manage`, `deals:read`, `deals:manage`, `deals:finances`, `deals:originalFiles`, `companies:manage`, `billing:update`, `integration:manage`, `app:manage`; at most 59 items.

**200 OK**

- `data` (object, required, nullable, WorkspacePermissionOverride)
  - `target` (object, required, PermissionOverrideTarget): Who the override is for: a role (`roleId`) or one member (`memberId`, a membership id).
    - variant type: "role":
      - `type` (string, required): always `"role"`.
      - `roleId` (string, required)
    - variant type: "member":
      - `type` (string, required): always `"member"`.
      - `memberId` (string, required)
  - `allow` (array of string, required): Workspace permissions granted in this workspace on top of the roles. one of `organization:update`, `organization:delete`, `organization:administrator`, `member:create`, `member:update`, `member:delete`, `invitation:create`, `invitation:cancel`, `role:manage`, `workspace:create`, `workspace:update`, `workspace:delete`, `workspace:viewAll`, `account:create`, `account:delete`, `media:read`, `media:create`, `media:update`, `media:delete`, `media:review`, `media:skipReview`, `media:rawFootageUpload`, `media:rawFootageManage`, `clips:read`, `clips:import`, `clips:edit`, `clips:delete`, `post:create`, `post:update`, `post:delete`, `post:publish`, `post:schedule`, `post:unschedule`, `post:review`, `kanbanColumn:create`, `kanbanColumn:update`, `kanbanColumn:delete`, `comment:create`, `comment:update`, `comment:delete`, `inbox:read`, `inbox:reply`, `inbox:moderate`, `inbox:assign`, `inbox:messages`, `creatorPage:update`, `creatorPage:publish`, `creatorPage:inquiries`, `creatorPage:subscribers`, `goLive:read`, `goLive:manage`, `deals:read`, `deals:manage`, `deals:finances`, `deals:originalFiles`, `companies:manage`, `billing:update`, `integration:manage`, `app:manage` (may gain values).
  - `deny` (array of string, required): Workspace permissions taken away in this workspace. one of `organization:update`, `organization:delete`, `organization:administrator`, `member:create`, `member:update`, `member:delete`, `invitation:create`, `invitation:cancel`, `role:manage`, `workspace:create`, `workspace:update`, `workspace:delete`, `workspace:viewAll`, `account:create`, `account:delete`, `media:read`, `media:create`, `media:update`, `media:delete`, `media:review`, `media:skipReview`, `media:rawFootageUpload`, `media:rawFootageManage`, `clips:read`, `clips:import`, `clips:edit`, `clips:delete`, `post:create`, `post:update`, `post:delete`, `post:publish`, `post:schedule`, `post:unschedule`, `post:review`, `kanbanColumn:create`, `kanbanColumn:update`, `kanbanColumn:delete`, `comment:create`, `comment:update`, `comment:delete`, `inbox:read`, `inbox:reply`, `inbox:moderate`, `inbox:assign`, `inbox:messages`, `creatorPage:update`, `creatorPage:publish`, `creatorPage:inquiries`, `creatorPage:subscribers`, `goLive:read`, `goLive:manage`, `deals:read`, `deals:manage`, `deals:finances`, `deals:originalFiles`, `companies:manage`, `billing:update`, `integration:manage`, `app:manage` (may gain values).

**Errors**

| Status | Code | Message |
|---|---|---|
| 400 | `VALIDATION_FAILED` | Some of the information sent is invalid. |
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `CANNOT_MANAGE_SELF` | You can't change your own role or remove yourself. Leave the organization instead. |
| 403 | `MEMBER_NOT_MANAGEABLE` | You can only manage members whose role is below yours. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 403 | `PERMISSION_NOT_GRANTABLE` | You can only give permissions you have yourself. |
| 404 | `MEMBER_NOT_FOUND` | This person isn't a member of the organization anymore. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `INTEGRATION_SELECTION_TOO_NARROW` (403), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: One member may not delete posts here**

```bash
curl -X PUT "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/permission-overrides/members/Qe4hT8vN2sLw6KpZ1cXbR" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Content-Type: application/json" \
  -d '{
  "allow": [],
  "deny": [
    "post:delete"
  ]
}'
```

Answers 200:

```json
{
  "data": {
    "target": {
      "type": "member",
      "memberId": "Qe4hT8vN2sLw6KpZ1cXbR"
    },
    "allow": [],
    "deny": [
      "post:delete"
    ]
  }
}
```


## Set a role's override in a workspace

`PUT /organizations/{organizationId}/workspaces/{workspaceId}/permission-overrides/roles/{roleId}` · operationId `workspaces.permissionOverrides.roles.set`

- Scope: `roles:write`
- Role permission: Manage roles (`role:manage`)
- Effect (`write`): Changes data in Beplan.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Replaces a role's override in one workspace: `allow` grants workspace permissions on top of the roles, `deny` takes them away there (see `GET …/permission-overrides` for the order they apply in; a permission can't be in both, and only workspace permissions can be overridden: `400 VALIDATION_FAILED`). Both lists empty removes the override, and the answer is `null`. Only the permissions added to or taken out of either list must be ones the caller holds in that workspace. Access changes at once.

Roles are ranked by `position` (higher sits above). The calling user can only create, edit, move or delete roles strictly below their own highest role (`403 ROLE_NOT_MANAGEABLE`; the owner manages every role), and only put in permissions they hold themselves (`403 PERMISSION_NOT_GRANTABLE`; `viewer.grantablePermissions` of `GET …/roles` lists them). A token never does more than its user. Editing roles needs the Team Collaboration add-on (`402 PLAN_UPGRADE_REQUIRED`). `integration:manage`, `app:manage` and `organization:administrator` can only be given or taken away in the Beplan app: through the API, adding or removing them on a role, deleting a role that holds one, or giving or taking away such a role answers `403 PERMISSION_APP_ONLY`.

Needs a token given **all** the workspaces of the organization: one narrowed to chosen workspaces answers `403 INTEGRATION_SELECTION_TOO_NARROW`, since roles apply in every workspace. Role ids come from `GET …/roles`; the role must sit strictly below the caller.

**Parameters**

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |
| `workspaceId` | path | string (uuid) | yes |  |
| `roleId` | path | string (uuid) | yes |  |

**Request body** (JSON, required)

- `allow` (array of string, required): one of `organization:update`, `organization:delete`, `organization:administrator`, `member:create`, `member:update`, `member:delete`, `invitation:create`, `invitation:cancel`, `role:manage`, `workspace:create`, `workspace:update`, `workspace:delete`, `workspace:viewAll`, `account:create`, `account:delete`, `media:read`, `media:create`, `media:update`, `media:delete`, `media:review`, `media:skipReview`, `media:rawFootageUpload`, `media:rawFootageManage`, `clips:read`, `clips:import`, `clips:edit`, `clips:delete`, `post:create`, `post:update`, `post:delete`, `post:publish`, `post:schedule`, `post:unschedule`, `post:review`, `kanbanColumn:create`, `kanbanColumn:update`, `kanbanColumn:delete`, `comment:create`, `comment:update`, `comment:delete`, `inbox:read`, `inbox:reply`, `inbox:moderate`, `inbox:assign`, `inbox:messages`, `creatorPage:update`, `creatorPage:publish`, `creatorPage:inquiries`, `creatorPage:subscribers`, `goLive:read`, `goLive:manage`, `deals:read`, `deals:manage`, `deals:finances`, `deals:originalFiles`, `companies:manage`, `billing:update`, `integration:manage`, `app:manage`; at most 59 items.
- `deny` (array of string, required): one of `organization:update`, `organization:delete`, `organization:administrator`, `member:create`, `member:update`, `member:delete`, `invitation:create`, `invitation:cancel`, `role:manage`, `workspace:create`, `workspace:update`, `workspace:delete`, `workspace:viewAll`, `account:create`, `account:delete`, `media:read`, `media:create`, `media:update`, `media:delete`, `media:review`, `media:skipReview`, `media:rawFootageUpload`, `media:rawFootageManage`, `clips:read`, `clips:import`, `clips:edit`, `clips:delete`, `post:create`, `post:update`, `post:delete`, `post:publish`, `post:schedule`, `post:unschedule`, `post:review`, `kanbanColumn:create`, `kanbanColumn:update`, `kanbanColumn:delete`, `comment:create`, `comment:update`, `comment:delete`, `inbox:read`, `inbox:reply`, `inbox:moderate`, `inbox:assign`, `inbox:messages`, `creatorPage:update`, `creatorPage:publish`, `creatorPage:inquiries`, `creatorPage:subscribers`, `goLive:read`, `goLive:manage`, `deals:read`, `deals:manage`, `deals:finances`, `deals:originalFiles`, `companies:manage`, `billing:update`, `integration:manage`, `app:manage`; at most 59 items.

**200 OK**

- `data` (object, required, nullable, WorkspacePermissionOverride)
  - `target` (object, required, PermissionOverrideTarget): Who the override is for: a role (`roleId`) or one member (`memberId`, a membership id).
    - variant type: "role":
      - `type` (string, required): always `"role"`.
      - `roleId` (string, required)
    - variant type: "member":
      - `type` (string, required): always `"member"`.
      - `memberId` (string, required)
  - `allow` (array of string, required): Workspace permissions granted in this workspace on top of the roles. one of `organization:update`, `organization:delete`, `organization:administrator`, `member:create`, `member:update`, `member:delete`, `invitation:create`, `invitation:cancel`, `role:manage`, `workspace:create`, `workspace:update`, `workspace:delete`, `workspace:viewAll`, `account:create`, `account:delete`, `media:read`, `media:create`, `media:update`, `media:delete`, `media:review`, `media:skipReview`, `media:rawFootageUpload`, `media:rawFootageManage`, `clips:read`, `clips:import`, `clips:edit`, `clips:delete`, `post:create`, `post:update`, `post:delete`, `post:publish`, `post:schedule`, `post:unschedule`, `post:review`, `kanbanColumn:create`, `kanbanColumn:update`, `kanbanColumn:delete`, `comment:create`, `comment:update`, `comment:delete`, `inbox:read`, `inbox:reply`, `inbox:moderate`, `inbox:assign`, `inbox:messages`, `creatorPage:update`, `creatorPage:publish`, `creatorPage:inquiries`, `creatorPage:subscribers`, `goLive:read`, `goLive:manage`, `deals:read`, `deals:manage`, `deals:finances`, `deals:originalFiles`, `companies:manage`, `billing:update`, `integration:manage`, `app:manage` (may gain values).
  - `deny` (array of string, required): Workspace permissions taken away in this workspace. one of `organization:update`, `organization:delete`, `organization:administrator`, `member:create`, `member:update`, `member:delete`, `invitation:create`, `invitation:cancel`, `role:manage`, `workspace:create`, `workspace:update`, `workspace:delete`, `workspace:viewAll`, `account:create`, `account:delete`, `media:read`, `media:create`, `media:update`, `media:delete`, `media:review`, `media:skipReview`, `media:rawFootageUpload`, `media:rawFootageManage`, `clips:read`, `clips:import`, `clips:edit`, `clips:delete`, `post:create`, `post:update`, `post:delete`, `post:publish`, `post:schedule`, `post:unschedule`, `post:review`, `kanbanColumn:create`, `kanbanColumn:update`, `kanbanColumn:delete`, `comment:create`, `comment:update`, `comment:delete`, `inbox:read`, `inbox:reply`, `inbox:moderate`, `inbox:assign`, `inbox:messages`, `creatorPage:update`, `creatorPage:publish`, `creatorPage:inquiries`, `creatorPage:subscribers`, `goLive:read`, `goLive:manage`, `deals:read`, `deals:manage`, `deals:finances`, `deals:originalFiles`, `companies:manage`, `billing:update`, `integration:manage`, `app:manage` (may gain values).

**Errors**

| Status | Code | Message |
|---|---|---|
| 400 | `VALIDATION_FAILED` | Some of the information sent is invalid. |
| 402 | `PLAN_UPGRADE_REQUIRED` | Your current plan doesn't include this feature. |
| 403 | `MISSING_PERMISSION` | You don't have permission to do this. |
| 403 | `PERMISSION_NOT_GRANTABLE` | You can only give permissions you have yourself. |
| 403 | `ROLE_NOT_MANAGEABLE` | You can only manage roles below your highest role. |
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |
| 404 | `ROLE_NOT_FOUND` | This role doesn't exist in this organization. |
| 404 | `WORKSPACE_NOT_FOUND` | This workspace doesn't exist or you don't have access to it. |

Also, like every operation: `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `INTEGRATION_SELECTION_TOO_NARROW` (403), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Writers may schedule in this workspace**

```bash
curl -X PUT "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/permission-overrides/roles/9b2d4f61-7c3a-4e85-b1d0-6a8f2c5e7d93" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Content-Type: application/json" \
  -d '{
  "allow": [
    "post:schedule"
  ],
  "deny": []
}'
```

Answers 200:

```json
{
  "data": {
    "target": {
      "type": "role",
      "roleId": "9b2d4f61-7c3a-4e85-b1d0-6a8f2c5e7d93"
    },
    "allow": [
      "post:schedule"
    ],
    "deny": []
  }
}
```


---
HTML version: https://beplan.io/docs/api/roles/
