Skip to content

Update a permission scheme ​

PATCH/api/v2/workspaces/{slug}/permission-schemes/{pk}/

Change a custom permission scheme. A permission scheme is a named set of permissions that a role can hold. Send only the keys you want to change. Omitted keys keep their current value.

  • permissions replaces the scheme's whole list. To add one permission, send the current list plus the new one. The change applies right away to every role built from the scheme, and so to every member who holds one of those roles.
  • Renaming a scheme also regenerates its slug from the new name. Store a scheme's id, which never changes.
  • A scheme's namespace can't be changed.

The same permission rules as Create a permission scheme apply, including the workspace:view or project:view that Plane adds back, so read permissions from the response.

System schemes can't be changed and return 403. Custom schemes need granular access control on the workspace's plan. You need permission to manage the workspace, which workspace owners and admins have. In a workspace scheme, you can't add workspace permissions you don't hold. Permissions the scheme already has are not rechecked.

Path parameters ​

slug:requiredstring

The workspace slug. It appears in your Plane URLs. In https://app.plane.so/my-team/projects/, the slug is my-team.

pk:requiredstring (uuid)

The permission scheme id. A scheme slug in this position returns 404.

Body parameters ​

name:optionalstring

Display name. Maximum 255 characters. Changing it changes the scheme's slug.

description:optionalstring

Free-form description of what the scheme is for.

permissions:optionalarray of string

The complete list of permissions, as <resource_type>:<action> strings with at most one +condition, such as workitem:delete+creator. It replaces the current list. Wildcards aren't allowed, and a project scheme can't hold workspace-level permissions.

namespace:optionalstring

Accepted only when it matches the scheme's current namespace. Any other value returns 400.

Response shaping ​

fields:optionalstring

Comma-separated list of fields to return. Fields you don't request are left out of the response instead of coming back as null. id is always included. Pass all to get every requestable field. An unknown field name returns 400. See Sparse fields.

Requestable here: description, id, is_system, name, namespace, permissions, slug, sort_order, updated_at.

Scopes ​

workspaces.roles:write

Errors ​

StatusCodeCause
400invalid_requestnamespace differs from the scheme's, or a permission is invalid: an unknown action, a wildcard, more than one condition, or a workspace-level permission in a project scheme.
401unauthorizedMissing or invalid credentials.
402payment_requiredCustom permission schemes aren't included in the workspace's plan.
403forbiddenThe scheme is a system scheme, you can't manage this workspace, the added permissions are workspace permissions you don't hold, or your token scope doesn't allow this.
404not_foundNo permission scheme with this id in the workspace.
406not_acceptableThe Accept header asks for a representation the API can't produce.
409conflictAnother request saved a scheme with the same slug at the same moment. Retry the request.
413payload_too_largeThe request body is over the size limit.
415unsupported_media_typeThe Content-Type isn't one this endpoint accepts.
429rate_limitedThrottled. Honor the Retry-After header before retrying.
Update a permission scheme
bash
curl -X PATCH \
  "https://api.plane.so/api/v2/workspaces/my-team/permission-schemes/f3b8a1c6-2d7e-4a95-8c14-5e9d0b3f7a28/" \
  -H "X-Api-Key: $PLANE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "permissions": [
    "comment:create",
    "comment:edit+creator",
    "cycle:view",
    "module:view",
    "state:view",
    "workitem:create",
    "workitem:edit",
    "workitem:view"
  ]
}'
Response200
json
{
  "id": "f3b8a1c6-2d7e-4a95-8c14-5e9d0b3f7a28",
  "name": "QA review",
  "slug": "qa-review",
  "description": "Comment on and edit work items, read cycles, modules, and states.",
  "namespace": "project",
  "permissions": [
    "comment:create",
    "comment:edit+creator",
    "cycle:view",
    "module:view",
    "state:view",
    "workitem:create",
    "workitem:edit",
    "workitem:view",
    "project:view"
  ],
  "is_system": false,
  "sort_order": 65535,
  "updated_at": "2026-11-24T13:52:06.770481Z"
}
Response403
json
{
  "type": "forbidden",
  "code": "forbidden",
  "detail": "System permission schemes cannot be modified."
}