Create and Manage Roles
Create a role in the Developer Console, set the permissions it grants, then rename, deactivate, or delete it.
Using the Console
In the Developer Console, Access Control → Roles is where you manage this Environment's roles. Each role is a named bundle of permissions you can assign to identities: define a role once, then reuse it for everyone who needs the same access. The page is a split view: the roles list on the left, and the selected role's permissions on the right.
- Application
- Developer Console
- Path
- Access ControlRoles
- Opens with
env_roles.viewRead the Environment's roles and the permissions each one grants.
- Context
- Select an Application and an Environment in the switcher first; the page belongs to that Environment.
Create a role
Regional Manager. Common starting points are Owner, Admin, Editor, and Viewer.Set the role's permissions
canopy:organization.manage and canopy:access.manage appear under a separate Canopy capabilities heading and are granted the same way; the role that carries the first is the one whose holders administer their own organization, the role that carries the second administers access at the node it is held at and beneath.Rename, deactivate, or delete a role
If you don't see this
Each control on the Roles page exists only for someone who may use it. When something described above is missing, one of these is why:
First time setting up?
On a fresh Environment (every new Application is seeded with an empty Development and Production Environment), Access Control → Overview shows a banner that reads "Your roles & permissions setup is incomplete." Click Complete Roles & Permissions Setup to open the Setup guide, a floating checklist that opens on its first unfinished step. Each step links directly to the right page and offers help alongside, so you don't have to bounce between docs and the Console to figure out where to click next.
What the guide walks you through:
Using the API
You can also create roles through the API instead of using the Developer Console. Use this when you want to seed your role catalog from code, automate setup, or keep Canopy in sync with the access tiers your application defines. Each API key is scoped to one Environment: POST /api/v1/roles creates the role in that Environment's catalog and nowhere else.
Endpoint
POST /api/v1/rolesAuthenticate with your API key in the X-API-Key header.
Example
Send the role's name (and an optional description) in the request body:
{ "name": "Regional Manager", "description": "Manages regional sales teams" }
The response returns the created role with its id. Use that id with PUT /api/v1/roles/{id}/permissions to attach permissions, or jump back to the Console to manage them in the UI. Two optional fields shape a new role: organization_id makes it that organization's own role, and copy_from_role_id starts it with another role's permissions, and its description when you send none. The role copied is an Environment role or one of the same organization's own.
Tell us how we can improve this guide.