Create role
Creates a new role with the specified permissions and project assignments.
Documentation Index
Fetch the complete documentation index at: https://docs.gorules.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Personal access token is obtained through your profile
Body
Name of the role
Whether this role should apply to all projects
Description of the role
Identity provider groups to map to this role
Identity provider group name
List of project-level permissions to grant
Permission type
owner, documents, releases, releases:manage, releases:deploy, releases:delete, integrations:manage, documents:full, documents:view-content, documents:edit-content, documents:edit-view, branches, branches:create, branches:merge, branches:delete, project:manage, environments, environments:manage, environments:delete File-level permissions to grant
List of user IDs to assign to this role
User ID
List of project IDs this role applies to (ignored if allProjects is true)
Project ID
Response
The created role
The created role
Unique identifier of the role
Name of the role
Whether this role applies to all projects
ID of the organisation this role belongs to
Timestamp when the role was created
Timestamp when the role was last updated
Description of the role
Identity provider groups mapped to this role
List of project-level permissions granted by this role
owner, documents, releases, releases:manage, releases:deploy, releases:delete, integrations:manage, documents:full, documents:view-content, documents:edit-content, documents:edit-view, branches, branches:create, branches:merge, branches:delete, project:manage, environments, environments:manage, environments:delete File-level permissions granted by this role
Groups associated with this role
Users assigned to this role
Organisation this role belongs to