Start free
Docs · Roles

API reference

Roles

Read as Markdown

On this page
  1. List the roles
  2. Create a role
  3. Reorder the roles
  4. Edit a role
  5. Delete a role
  6. Get my permissions in a workspace
  7. List a workspace's permission overrides
  8. Set a member's override in a workspace
  9. Set a role's override in a workspace

Base URL https://api.beplan.io/v1. Authentication, envelopes, pagination, idempotency and rate limits: conventions. OpenAPI document: openapi.json.

All 9 Roles operations

List the roles

GET /organizations/{organizationId}/roles
Beta Reads only roles.list
Scope
organization:read
Role permission
Any member who can see it
Effect
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 Description
organizationId required path string 1–128 characters

Responses

200 OK

object · ListOrganizationRolesResponse

  • dataobjectrequired
    2fields
    • rolesarray of objectrequired
      8fields in each item
      • idstringrequired
        The role's id (a UUID).
      • namestringrequired
      • colorstringrequirednullable
        The role's color in the Beplan app, null for none.
        One of (may gain values): red, orange, amber, lime, green, teal, cyan, blue, indigo, violet, pink, slate
      • positionnumberrequired
        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).
      • permissionsarray of stringrequired
        The organization-wide permissions the role grants.
        One of (may gain values): 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
      • isEveryonebooleanrequired
        The Everyone role: every member holds it; it can't be given, renamed or deleted, only its permissions change.
      • builtinKeystringrequirednullable
        For a default role, the built-in role it was created from; null for roles the organization made.
        One of (may gain values): admin, manager, member, media_editor, vod_scrubber, client
      • memberCountnumberrequired
        How many members hold the role (Everyone: every member).
    • viewerobject · RolesViewerrequired
      4fields
      • isOwnerbooleanrequired
        The calling user is the owner (manages every role).
      • topPositionnumberrequired
        The calling user's highest role position: they manage roles strictly below it (the owner: every role).
      • canManageRolesbooleanrequired
        The calling user holds role:manage (or is the owner).
      • grantablePermissionsarray of stringrequired
        The permissions the calling user can put into a role or an override: the ones they hold.
        One of (may gain values): 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

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 429, 500.

Error codes

Status Code Message
404 ORGANIZATION_NOT_FOUND This organization doesn't exist or you're not a member of it.
10 more that every operation can answer (tokens, scopes, limits)
400 VALIDATION_FAILED Some of the information sent is invalid.
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Admin, a custom role and Everyone

curl
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/roles" \
  -H "Authorization: Bearer beplan_pat_…"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/roles", {
  method: "GET",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.get(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/roles",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "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
Beta Changes data roles.create
Scope
roles:write
Role permission
Manage roles (role:manage)
Effect
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 Description
organizationId required path string 1–128 characters

Request body JSON, required

object · CreateRoleBody

  • namestringrequired
    1–40 characters
  • colorstringoptionalnullable
    One of: red, orange, amber, lime, green, teal, cyan, blue, indigo, violet, pink, slate
  • permissionsarray of stringoptional
    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

Responses

201 Created

object · OrganizationRoleResponse

  • dataobject · OrganizationRolerequired
    8fields
    • idstringrequired
      The role's id (a UUID).
    • namestringrequired
    • colorstringrequirednullable
      The role's color in the Beplan app, null for none.
      One of (may gain values): red, orange, amber, lime, green, teal, cyan, blue, indigo, violet, pink, slate
    • positionnumberrequired
      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).
    • permissionsarray of stringrequired
      The organization-wide permissions the role grants.
      One of (may gain values): 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
    • isEveryonebooleanrequired
      The Everyone role: every member holds it; it can't be given, renamed or deleted, only its permissions change.
    • builtinKeystringrequirednullable
      For a default role, the built-in role it was created from; null for roles the organization made.
      One of (may gain values): admin, manager, member, media_editor, vod_scrubber, client
    • memberCountnumberrequired
      How many members hold the role (Everyone: every member).

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 409, 413, 415, 429, 500.

Error codes

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.
14 more that every operation can answer (tokens, scopes, limits)
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
403 INTEGRATION_SELECTION_TOO_NARROW This needs access to every workspace of the organization. Connect again and pick all workspaces.
409 CONFLICT This changed in the meantime. Refresh and try again.
409 IDEMPOTENCY_KEY_REUSED This Idempotency-Key was already used for a different request. Send a new key.
413 PAYLOAD_TOO_LARGE This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key.
415 UNSUPPORTED_MEDIA_TYPE This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

A role for writers

curl
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"
  ]
}'
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/roles", {
  method: "POST",
  headers: {
    Authorization: "Bearer beplan_pat_…",
    "Idempotency-Key": crypto.randomUUID(),
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "name": "Writer",
    "color": "green",
    "permissions": [
      "post:create",
      "post:update",
      "comment:create"
    ]
  }),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import uuid

import requests

response = requests.post(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/roles",
    headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
    json={
        "name": "Writer",
        "color": "green",
        "permissions": [
            "post:create",
            "post:update",
            "comment:create",
        ],
    },
)
response.raise_for_status()
data = response.json()["data"]
Response 201
{
  "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
Beta Changes data roles.reorder
Scope
roles:write
Role permission
Manage roles (role:manage)
Effect
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 Description
organizationId required path string 1–128 characters

Request body JSON, required

object · ReorderRolesBody

  • roleIdsarray 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

Responses

200 OK

object · ListOrganizationRolesResponse

  • dataobjectrequired
    2fields
    • rolesarray of objectrequired
      8fields in each item
      • idstringrequired
        The role's id (a UUID).
      • namestringrequired
      • colorstringrequirednullable
        The role's color in the Beplan app, null for none.
        One of (may gain values): red, orange, amber, lime, green, teal, cyan, blue, indigo, violet, pink, slate
      • positionnumberrequired
        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).
      • permissionsarray of stringrequired
        The organization-wide permissions the role grants.
        One of (may gain values): 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
      • isEveryonebooleanrequired
        The Everyone role: every member holds it; it can't be given, renamed or deleted, only its permissions change.
      • builtinKeystringrequirednullable
        For a default role, the built-in role it was created from; null for roles the organization made.
        One of (may gain values): admin, manager, member, media_editor, vod_scrubber, client
      • memberCountnumberrequired
        How many members hold the role (Everyone: every member).
    • viewerobject · RolesViewerrequired
      4fields
      • isOwnerbooleanrequired
        The calling user is the owner (manages every role).
      • topPositionnumberrequired
        The calling user's highest role position: they manage roles strictly below it (the owner: every role).
      • canManageRolesbooleanrequired
        The calling user holds role:manage (or is the owner).
      • grantablePermissionsarray of stringrequired
        The permissions the calling user can put into a role or an override: the ones they hold.
        One of (may gain values): 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

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 413, 415, 429, 500.

Error codes

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.
12 more that every operation can answer (tokens, scopes, limits)
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
403 INTEGRATION_SELECTION_TOO_NARROW This needs access to every workspace of the organization. Connect again and pick all workspaces.
413 PAYLOAD_TOO_LARGE This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key.
415 UNSUPPORTED_MEDIA_TYPE This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Writer above Client

curl
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"
  ]
}'
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/roles/order", {
  method: "PUT",
  headers: {
    Authorization: "Bearer beplan_pat_…",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "roleIds": [
      "9b2d4f61-7c3a-4e85-b1d0-6a8f2c5e7d93",
      "4e1a7c39-2d6b-4f08-9c5e-3b7d1a8f6e20"
    ]
  }),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.put(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/roles/order",
    headers={"Authorization": "Bearer beplan_pat_…"},
    json={
        "roleIds": [
            "9b2d4f61-7c3a-4e85-b1d0-6a8f2c5e7d93",
            "4e1a7c39-2d6b-4f08-9c5e-3b7d1a8f6e20",
        ],
    },
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "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}
Beta Changes data roles.update
Scope
roles:write
Role permission
Manage roles (role:manage)
Effect
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 Description
organizationId required path string 1–128 characters
roleId required path string (uuid)

Request body JSON, required

object · UpdateRoleBody

  • namestringoptional
    1–40 characters
  • colorstringoptionalnullable
    One of: red, orange, amber, lime, green, teal, cyan, blue, indigo, violet, pink, slate
  • permissionsarray of stringoptional
    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

Responses

200 OK

object · OrganizationRoleResponse

  • dataobject · OrganizationRolerequired
    8fields
    • idstringrequired
      The role's id (a UUID).
    • namestringrequired
    • colorstringrequirednullable
      The role's color in the Beplan app, null for none.
      One of (may gain values): red, orange, amber, lime, green, teal, cyan, blue, indigo, violet, pink, slate
    • positionnumberrequired
      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).
    • permissionsarray of stringrequired
      The organization-wide permissions the role grants.
      One of (may gain values): 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
    • isEveryonebooleanrequired
      The Everyone role: every member holds it; it can't be given, renamed or deleted, only its permissions change.
    • builtinKeystringrequirednullable
      For a default role, the built-in role it was created from; null for roles the organization made.
      One of (may gain values): admin, manager, member, media_editor, vod_scrubber, client
    • memberCountnumberrequired
      How many members hold the role (Everyone: every member).

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 409, 413, 415, 429, 500.

Error codes

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.
12 more that every operation can answer (tokens, scopes, limits)
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
403 INTEGRATION_SELECTION_TOO_NARROW This needs access to every workspace of the organization. Connect again and pick all workspaces.
413 PAYLOAD_TOO_LARGE This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key.
415 UNSUPPORTED_MEDIA_TYPE This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Let writers schedule

curl
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"
  ]
}'
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/roles/9b2d4f61-7c3a-4e85-b1d0-6a8f2c5e7d93", {
  method: "PATCH",
  headers: {
    Authorization: "Bearer beplan_pat_…",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "permissions": [
      "post:create",
      "post:update",
      "post:schedule",
      "comment:create"
    ]
  }),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.patch(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/roles/9b2d4f61-7c3a-4e85-b1d0-6a8f2c5e7d93",
    headers={"Authorization": "Bearer beplan_pat_…"},
    json={
        "permissions": [
            "post:create",
            "post:update",
            "post:schedule",
            "comment:create",
        ],
    },
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "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}
Beta Deletes roles.delete
Scope
roles:write
Role permission
Manage roles (role:manage)
Effect
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 Description
organizationId required path string 1–128 characters
roleId required path string (uuid)

Responses

204 No content

No content.

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 409, 429, 500.

Error codes

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.
11 more that every operation can answer (tokens, scopes, limits)
400 VALIDATION_FAILED Some of the information sent is invalid.
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
403 INTEGRATION_SELECTION_TOO_NARROW This needs access to every workspace of the organization. Connect again and pick all workspaces.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Delete a role

curl
curl -X DELETE "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/roles/9b2d4f61-7c3a-4e85-b1d0-6a8f2c5e7d93" \
  -H "Authorization: Bearer beplan_pat_…"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/roles/9b2d4f61-7c3a-4e85-b1d0-6a8f2c5e7d93", {
  method: "DELETE",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
Python
import requests

response = requests.delete(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/roles/9b2d4f61-7c3a-4e85-b1d0-6a8f2c5e7d93",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()

Answers 204 with no content.

Get my permissions in a workspace

GET /organizations/{organizationId}/workspaces/{workspaceId}/me
Beta Reads only workspaces.currentMember.get
Scope
organization:read
Role permission
Any member who can see it
Effect
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 Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)

Responses

200 OK

object · CurrentWorkspaceMemberResponse

  • dataobjectrequired
    1field
    • permissionsarray of stringrequired
      One of (may gain values): 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

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 429, 500.

Error codes

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.
10 more that every operation can answer (tokens, scopes, limits)
400 VALIDATION_FAILED Some of the information sent is invalid.
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

A writer

curl
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/me" \
  -H "Authorization: Bearer beplan_pat_…"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/me", {
  method: "GET",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.get(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/me",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "data": {
    "permissions": [
      "post:create",
      "post:update",
      "post:schedule",
      "comment:create"
    ]
  }
}

List a workspace's permission overrides

GET /organizations/{organizationId}/workspaces/{workspaceId}/permission-overrides
Beta Reads only workspaces.permissionOverrides.list
Scope
organization:read
Role permission
Manage workspace settings (workspace:update)
Effect
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 Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)

Responses

200 OK

object · ListWorkspacePermissionOverridesResponse

  • dataarray of objectrequired
    3fields in each item
    • targetobject · PermissionOverrideTargetrequired
      Who the override is for: a role (roleId) or one member (memberId, a membership id).
      Variant: type: "role"
      • typestringrequired
        Always role
      • roleIdstringrequired
      Variant: type: "member"
      • typestringrequired
        Always member
      • memberIdstringrequired
    • allowarray of stringrequired
      Workspace permissions granted in this workspace on top of the roles.
      One of (may gain values): 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
    • denyarray of stringrequired
      Workspace permissions taken away in this workspace.
      One of (may gain values): 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

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 429, 500.

Error codes

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.
10 more that every operation can answer (tokens, scopes, limits)
400 VALIDATION_FAILED Some of the information sent is invalid.
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Writers may schedule here, one member may not delete

curl
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/permission-overrides" \
  -H "Authorization: Bearer beplan_pat_…"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/permission-overrides", {
  method: "GET",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.get(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/permission-overrides",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "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}
Beta Changes data workspaces.permissionOverrides.members.set
Scope
roles:write
Role permission
Manage roles (role:manage)
Effect
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 Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
memberId required path string 1–128 characters

Request body JSON, required

object · SetPermissionOverrideBody

  • allowarray of stringrequired
    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
  • denyarray of stringrequired
    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

Responses

200 OK

object · WorkspacePermissionOverrideResponse

  • dataobject · WorkspacePermissionOverriderequirednullable
    3fields
    • targetobject · PermissionOverrideTargetrequired
      Who the override is for: a role (roleId) or one member (memberId, a membership id).
      Variant: type: "role"
      • typestringrequired
        Always role
      • roleIdstringrequired
      Variant: type: "member"
      • typestringrequired
        Always member
      • memberIdstringrequired
    • allowarray of stringrequired
      Workspace permissions granted in this workspace on top of the roles.
      One of (may gain values): 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
    • denyarray of stringrequired
      Workspace permissions taken away in this workspace.
      One of (may gain values): 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

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 413, 415, 429, 500.

Error codes

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.
12 more that every operation can answer (tokens, scopes, limits)
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
403 INTEGRATION_SELECTION_TOO_NARROW This needs access to every workspace of the organization. Connect again and pick all workspaces.
413 PAYLOAD_TOO_LARGE This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key.
415 UNSUPPORTED_MEDIA_TYPE This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

One member may not delete posts here

curl
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"
  ]
}'
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/permission-overrides/members/Qe4hT8vN2sLw6KpZ1cXbR", {
  method: "PUT",
  headers: {
    Authorization: "Bearer beplan_pat_…",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "allow": [],
    "deny": [
      "post:delete"
    ]
  }),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.put(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/permission-overrides/members/Qe4hT8vN2sLw6KpZ1cXbR",
    headers={"Authorization": "Bearer beplan_pat_…"},
    json={
        "allow": [],
        "deny": [
            "post:delete",
        ],
    },
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "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}
Beta Changes data workspaces.permissionOverrides.roles.set
Scope
roles:write
Role permission
Manage roles (role:manage)
Effect
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 Description
organizationId required path string 1–128 characters
workspaceId required path string (uuid)
roleId required path string (uuid)

Request body JSON, required

object · SetPermissionOverrideBody

  • allowarray of stringrequired
    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
  • denyarray of stringrequired
    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

Responses

200 OK

object · WorkspacePermissionOverrideResponse

  • dataobject · WorkspacePermissionOverriderequirednullable
    3fields
    • targetobject · PermissionOverrideTargetrequired
      Who the override is for: a role (roleId) or one member (memberId, a membership id).
      Variant: type: "role"
      • typestringrequired
        Always role
      • roleIdstringrequired
      Variant: type: "member"
      • typestringrequired
        Always member
      • memberIdstringrequired
    • allowarray of stringrequired
      Workspace permissions granted in this workspace on top of the roles.
      One of (may gain values): 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
    • denyarray of stringrequired
      Workspace permissions taken away in this workspace.
      One of (may gain values): 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

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 413, 415, 429, 500.

Error codes

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.
12 more that every operation can answer (tokens, scopes, limits)
401 APP_SUSPENDED This app has been suspended by Beplan and can't access your account.
401 TOKEN_EXPIRED This token has expired. Create a new one or sign in again.
401 TOKEN_REVOKED This token was revoked. Connect again to get a new one.
401 UNAUTHENTICATED Your session has expired. Please sign in again.
403 INSUFFICIENT_SCOPE This token doesn't have the access this needs. Connect again and allow it.
403 INTEGRATION_BLOCKED_BY_ORGANIZATION This organization doesn't allow this integration. Ask an admin of the organization.
403 INTEGRATION_PENDING_APPROVAL An admin of this organization needs to approve this connection first.
403 INTEGRATION_SELECTION_TOO_NARROW This needs access to every workspace of the organization. Connect again and pick all workspaces.
413 PAYLOAD_TOO_LARGE This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key.
415 UNSUPPORTED_MEDIA_TYPE This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`.
429 RATE_LIMITED Too many requests. Wait a moment and try again.
500 INTERNAL_ERROR Something went wrong on our side. Please try again.

Example

Writers may schedule in this workspace

curl
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": []
}'
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/permission-overrides/roles/9b2d4f61-7c3a-4e85-b1d0-6a8f2c5e7d93", {
  method: "PUT",
  headers: {
    Authorization: "Bearer beplan_pat_…",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "allow": [
      "post:schedule"
    ],
    "deny": []
  }),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.put(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/permission-overrides/roles/9b2d4f61-7c3a-4e85-b1d0-6a8f2c5e7d93",
    headers={"Authorization": "Bearer beplan_pat_…"},
    json={
        "allow": [
            "post:schedule",
        ],
        "deny": [],
    },
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "data": {
    "target": {
      "type": "role",
      "roleId": "9b2d4f61-7c3a-4e85-b1d0-6a8f2c5e7d93"
    },
    "allow": [
      "post:schedule"
    ],
    "deny": []
  }
}