Create a permission scheme
Create a custom permission scheme in the workspace. A permission scheme is a named set of permissions that a role can hold. After you create one, attach it to a custom role with Create a role or Update a role.
Plane derives the scheme's slug from its name, for example qa-review for QA review, and adds a numeric suffix if another scheme in the same namespace already uses it.
Plane adjusts the permission list before it saves it, so read permissions back from the response:
- A workspace scheme always gets
workspace:view, and a project scheme always getsproject:view, added at the end if you left it out. - A permission on a resource type Plane doesn't know, such as a retired one, is dropped without an error. A misspelled action on a known resource, such as
workitem:veiw, returns400. - In a workspace scheme,
project:viewis dropped when no other permission in the scheme applies inside projects.
Custom schemes need granular access control on the workspace's plan. You need permission to manage the workspace, which workspace owners and admins have. A workspace scheme can't include workspace permissions you don't hold yourself.
Path parameters
slug:requiredstringThe workspace slug. It appears in your Plane URLs. In https://app.plane.so/my-team/projects/, the slug is my-team.
Body parameters
name:requiredstringDisplay name, for example QA review. Maximum 255 characters.
namespace:optionalstringWhat the scheme applies to: workspace or project. Defaults to workspace. It can't be changed later, and a role can only use schemes from its own namespace.
description:optionalstringFree-form description of what the scheme is for.
permissions:optionalarray of stringThe permissions the scheme grants, as <resource_type>:<action> strings such as workitem:edit. Each string is at most 100 characters.
- Add one condition with
+to grant a permission only in that case, for exampleworkitem:delete+creatorfor work items the member created. A string with more than one condition returns400. - Wildcards such as
*andworkitem:*aren't allowed in custom schemes and return400. - A project scheme can hold only permissions on resources inside a project, such as
workitem,cycle, orcomment. A workspace-level permission such asworkspace:managereturns400. A workspace scheme can hold both kinds.
Response shaping
fields:optionalstringComma-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
| Status | Code | Cause |
|---|---|---|
400 | invalid_request | name is missing, namespace isn't workspace or project, or a permission is invalid: an unknown action, a wildcard, more than one condition, or a workspace-level permission in a project scheme. |
401 | unauthorized | Missing or invalid credentials. |
402 | payment_required | Custom permission schemes aren't included in the workspace's plan. |
403 | forbidden | You can't manage this workspace, the scheme grants workspace permissions you don't hold, or your token scope doesn't allow this. |
404 | not_found | No such workspace, or it's outside your tenant. |
406 | not_acceptable | The Accept header asks for a representation the API can't produce. |
409 | conflict | Another request saved a scheme with the same slug at the same moment. Retry the request. |
413 | payload_too_large | The request body is over the size limit. |
415 | unsupported_media_type | The Content-Type isn't one this endpoint accepts. |
429 | rate_limited | Throttled. Honor the Retry-After header before retrying. |
curl -X POST \
"https://api.plane.so/api/v2/workspaces/my-team/permission-schemes/" \
-H "X-Api-Key: $PLANE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "QA review",
"namespace": "project",
"description": "Comment on and edit work items, read cycles, modules, and states.",
"permissions": [
"comment:create",
"comment:edit+creator",
"cycle:view",
"module:view",
"state:view",
"workitem:edit",
"workitem:view"
]
}'import requests
response = requests.post(
"https://api.plane.so/api/v2/workspaces/my-team/permission-schemes/",
headers={"X-Api-Key": "your-api-key"},
json={
"name": "QA review",
"namespace": "project",
"description": "Comment on and edit work items, read cycles, modules, and states.",
"permissions": [
"comment:create",
"comment:edit+creator",
"cycle:view",
"module:view",
"state:view",
"workitem:edit",
"workitem:view",
],
},
)
print(response.json())const response = await fetch("https://api.plane.so/api/v2/workspaces/my-team/permission-schemes/", {
method: "POST",
headers: {
"X-Api-Key": "your-api-key",
"Content-Type": "application/json",
},
body: JSON.stringify({
name: "QA review",
namespace: "project",
description: "Comment on and edit work items, read cycles, modules, and states.",
permissions: [
"comment:create",
"comment:edit+creator",
"cycle:view",
"module:view",
"state:view",
"workitem:edit",
"workitem:view",
],
}),
});
const data = await response.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:edit",
"workitem:view",
"project:view"
],
"is_system": false,
"sort_order": 65535,
"updated_at": "2026-11-20T10:12:48.093517Z"
}{
"type": "invalid_request",
"code": "invalid_request",
"detail": "One or more fields failed validation.",
"errors": [
{
"field": "permissions",
"code": "invalid",
"message": "Wildcard permissions are not allowed in custom schemes: workitem:*"
}
]
}
