# Members 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 members

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

- Scope: `members:read`
- Role permission: Any of: See members (`member:create`), Manage members (`member:update`), Remove members (`member:delete`), Invite people (`invitation:create`), Cancel invitations (`invitation:cancel`)
- Effect (`read`): Changes nothing.
- Stability: Beta (May still change before it is marked stable.) Since 2026-11-20.

Returns every member of the organization, oldest first: membership id (what the other member operations take), name, email address, picture, roles (highest first), teams and when they joined. Not paginated (an organization has at most a few hundred members). Only users who can manage members or invitations in the app can read it. It is personal data: keep it only as long as the integration needs it.

Role ids come from `GET …/roles`, team ids from `GET …/teams`. Invitations are not part of the API.

**Parameters**

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

**200 OK**

- `data` (array of object, required)
  - `id` (string, required): The membership id: an opaque string (not a UUID), the `:memberId` every member operation takes.
  - `userId` (string, required): The person's user id (the same in every organization they belong to).
  - `name` (string, required)
  - `email` (string, required): The person's sign-in email address. Through the public API it is given in full only to a token holding `members:read`; a token without it gets it masked (`j***@acme.com`), with `image` `null`.
  - `image` (string, required, nullable): URL of the person's picture (a signed one is valid one hour), `null` without one.
  - `role` (string, required): A summary role derived from `roles`: `owner`, the highest built-in role whose permissions the member holds (`admin`, `manager`, `member`, `media_editor`, `vod_scrubber`, `client`), or `none`. `roles` is the truth.
  - `isOwner` (boolean, required): The owner ranks above every role; nobody can change or remove them.
  - `roles` (array of object, required): The member's roles, highest first (the Everyone role is left out).
    - `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).
  - `createdAt` (string, required): When the person joined, ISO 8601 in UTC.
  - `teams` (array of object, required): The teams the member is in, by name.
    - `id` (string, required): The team's id (a UUID), as `GET …/teams` lists it.
    - `name` (string, required)

**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. |

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: The owner and one member**

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

Answers 200:

```json
{
  "data": [
    {
      "id": "Mb7fQ2kLx9TzR4nW0aSdE",
      "userId": "p2Hs8Kd4Jf6Lq1Wz9Xc3V",
      "name": "Jane Cooper",
      "email": "jane@northwind.studio",
      "image": null,
      "role": "owner",
      "isOwner": true,
      "roles": [],
      "createdAt": "2026-03-02T09:14:00.000Z",
      "teams": []
    },
    {
      "id": "Qe4hT8vN2sLw6KpZ1cXbR",
      "userId": "u9Lk3Qw7Rt2Xc5Vb8Nm1A",
      "name": "Alex Rivera",
      "email": "alex@northwind.studio",
      "image": null,
      "role": "member",
      "isOwner": false,
      "roles": [
        {
          "id": "0d7c5c8e-3f0e-4c7a-9a8e-5d1f6b2a9c41",
          "name": "Member",
          "color": "blue",
          "position": 4
        }
      ],
      "createdAt": "2026-04-11T08:30:00.000Z",
      "teams": [
        {
          "id": "7a3e9c21-5b8d-4f60-9e2a-1c4d7b8f0e35",
          "name": "Editors"
        }
      ]
    }
  ]
}
```


## Remove a member

`DELETE /organizations/{organizationId}/members/{memberId}` · operationId `members.remove`

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

Removes a person from the organization: they lose access to it at once (in the app and through their own tokens), and their team memberships go with them. What they made (posts, media, comments) stays. Bringing them back takes a new invitation, from the app. Answers `204`.

The hierarchy of the app applies: the calling user can only act on a member ranked strictly below their own highest role (`403 MEMBER_NOT_MANAGEABLE`; the owner ranks above everyone and can never be changed or removed), never on themselves (`403 CANNOT_MANAGE_SELF`). A token never does more than its user. To leave an organization, a person does it themselves in the app.

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

**Parameters**

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

**204 No content**

No content.

**Errors**

| Status | Code | Message |
|---|---|---|
| 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. |
| 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. |

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: Remove a member**

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

Answers 204 with no content.


## Set a member's roles

`PUT /organizations/{organizationId}/members/{memberId}/roles` · operationId `members.roles.set`

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

Gives a member exactly these roles (replacing theirs; `[]` leaves them with Everyone only). Role ids come from `GET …/roles`; the Everyone role is implied and can't be listed (`409 EVERYONE_ROLE_LOCKED`). Every role added or removed must sit strictly below the calling user (`403 ROLE_NOT_ASSIGNABLE`), and a role added can only hold permissions the calling user has (`403 PERMISSION_NOT_GRANTABLE`). A role holding `integration:manage`, `app:manage` or `organization:administrator` can only be given or taken away in the Beplan app (`403 PERMISSION_APP_ONLY`). The member's access changes at once, in the app and for their own tokens.

The hierarchy of the app applies: the calling user can only act on a member ranked strictly below their own highest role (`403 MEMBER_NOT_MANAGEABLE`; the owner ranks above everyone and can never be changed or removed), never on themselves (`403 CANNOT_MANAGE_SELF`). A token never does more than its user.

Answers with the member after the change. A token without `members:read` gets their email masked (`j***@acme.com`) and `image` `null`: the full address is what `members:read` is for.

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

**Parameters**

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

**Request body** (JSON, required)

- `roleIds` (array of string (uuid), required): Every role the member should hold (replaces them; Everyone is implied and can't be listed). at most 100 items.

**200 OK**

- `data` (object, required, OrganizationMember)
  - `id` (string, required): The membership id: an opaque string (not a UUID), the `:memberId` every member operation takes.
  - `userId` (string, required): The person's user id (the same in every organization they belong to).
  - `name` (string, required)
  - `email` (string, required): The person's sign-in email address. Through the public API it is given in full only to a token holding `members:read`; a token without it gets it masked (`j***@acme.com`), with `image` `null`.
  - `image` (string, required, nullable): URL of the person's picture (a signed one is valid one hour), `null` without one.
  - `role` (string, required): A summary role derived from `roles`: `owner`, the highest built-in role whose permissions the member holds (`admin`, `manager`, `member`, `media_editor`, `vod_scrubber`, `client`), or `none`. `roles` is the truth.
  - `isOwner` (boolean, required): The owner ranks above every role; nobody can change or remove them.
  - `roles` (array of object, required): The member's roles, highest first (the Everyone role is left out).
    - `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).
  - `createdAt` (string, required): When the person joined, ISO 8601 in UTC.
  - `teams` (array of object, required): The teams the member is in, by name.
    - `id` (string, required): The team's id (a UUID), as `GET …/teams` lists it.
    - `name` (string, required)

**Errors**

| Status | Code | Message |
|---|---|---|
| 400 | `VALIDATION_FAILED` | Some of the information sent is invalid. |
| 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_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_ASSIGNABLE` | You can only give roles below your own. Ownership is transferred from the organization settings. |
| 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 | `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: Make someone a Member**

```bash
curl -X PUT "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/members/Qe4hT8vN2sLw6KpZ1cXbR/roles" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Content-Type: application/json" \
  -d '{
  "roleIds": [
    "0d7c5c8e-3f0e-4c7a-9a8e-5d1f6b2a9c41"
  ]
}'
```

Answers 200:

```json
{
  "data": {
    "id": "Qe4hT8vN2sLw6KpZ1cXbR",
    "userId": "u9Lk3Qw7Rt2Xc5Vb8Nm1A",
    "name": "Alex Rivera",
    "email": "alex@northwind.studio",
    "image": null,
    "role": "member",
    "isOwner": false,
    "roles": [
      {
        "id": "0d7c5c8e-3f0e-4c7a-9a8e-5d1f6b2a9c41",
        "name": "Member",
        "color": "blue",
        "position": 4
      }
    ],
    "createdAt": "2026-04-11T08:30:00.000Z",
    "teams": [
      {
        "id": "7a3e9c21-5b8d-4f60-9e2a-1c4d7b8f0e35",
        "name": "Editors"
      }
    ]
  }
}
```


## Set a member's teams

`PUT /organizations/{organizationId}/members/{memberId}/teams` · operationId `members.teams.set`

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

Puts a member in exactly these teams (replacing theirs; `[]` takes them out of every team). Teams decide which workspaces members below admin see: a member in no team sees no workspace. Team ids come from `GET …/teams`; an id that isn't a team of the organization answers `404 TEAM_NOT_FOUND` and nothing changes. Needs the Team Collaboration add-on (`402 PLAN_UPGRADE_REQUIRED`).

The hierarchy of the app applies: the calling user can only act on a member ranked strictly below their own highest role (`403 MEMBER_NOT_MANAGEABLE`; the owner ranks above everyone and can never be changed or removed), never on themselves (`403 CANNOT_MANAGE_SELF`). A token never does more than its user.

Answers with the member after the change. A token without `members:read` gets their email masked (`j***@acme.com`) and `image` `null`: the full address is what `members:read` is for.

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

**Parameters**

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

**Request body** (JSON, required)

- `teamIds` (array of string (uuid), required): Every team the member should be in (replaces their teams; `[]` removes them from all). at most 200 items.

**200 OK**

- `data` (object, required, OrganizationMember)
  - `id` (string, required): The membership id: an opaque string (not a UUID), the `:memberId` every member operation takes.
  - `userId` (string, required): The person's user id (the same in every organization they belong to).
  - `name` (string, required)
  - `email` (string, required): The person's sign-in email address. Through the public API it is given in full only to a token holding `members:read`; a token without it gets it masked (`j***@acme.com`), with `image` `null`.
  - `image` (string, required, nullable): URL of the person's picture (a signed one is valid one hour), `null` without one.
  - `role` (string, required): A summary role derived from `roles`: `owner`, the highest built-in role whose permissions the member holds (`admin`, `manager`, `member`, `media_editor`, `vod_scrubber`, `client`), or `none`. `roles` is the truth.
  - `isOwner` (boolean, required): The owner ranks above every role; nobody can change or remove them.
  - `roles` (array of object, required): The member's roles, highest first (the Everyone role is left out).
    - `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).
  - `createdAt` (string, required): When the person joined, ISO 8601 in UTC.
  - `teams` (array of object, required): The teams the member is in, by name.
    - `id` (string, required): The team's id (a UUID), as `GET …/teams` lists it.
    - `name` (string, required)

**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. |
| 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 | `TEAM_NOT_FOUND` | This team doesn't exist in this organization. |

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: Put someone in the Editors team**

```bash
curl -X PUT "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/members/Qe4hT8vN2sLw6KpZ1cXbR/teams" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Content-Type: application/json" \
  -d '{
  "teamIds": [
    "7a3e9c21-5b8d-4f60-9e2a-1c4d7b8f0e35"
  ]
}'
```

Answers 200:

```json
{
  "data": {
    "id": "Qe4hT8vN2sLw6KpZ1cXbR",
    "userId": "u9Lk3Qw7Rt2Xc5Vb8Nm1A",
    "name": "Alex Rivera",
    "email": "alex@northwind.studio",
    "image": null,
    "role": "member",
    "isOwner": false,
    "roles": [
      {
        "id": "0d7c5c8e-3f0e-4c7a-9a8e-5d1f6b2a9c41",
        "name": "Member",
        "color": "blue",
        "position": 4
      }
    ],
    "createdAt": "2026-04-11T08:30:00.000Z",
    "teams": [
      {
        "id": "7a3e9c21-5b8d-4f60-9e2a-1c4d7b8f0e35",
        "name": "Editors"
      }
    ]
  }
}
```


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