Roles
Roles define the permissions that organization members receive in Seqera Platform. Predefined roles are managed by the system, while custom roles can be created and maintained for an organization.
Use these endpoints to list predefined and custom roles, inspect assignable permissions, and create, update, validate, or delete custom roles in an organization context.
Use List role permissions as the discovery endpoint for the permission names accepted by Create role and Update role. Custom role changes apply at the organization level and can affect access across workspaces where the role is assigned.
Path and query parameters
Name | Type | Location | Req/Opt | Description |
|---|---|---|---|---|
| integer | query | Required | Organization numeric identifier. |
| integer | query | Optional | Maximum number of results to return. Default: |
| integer | query | Optional | Number of results to skip for pagination. Default: |
| string | query | Optional | Role name search filter. |
| string | query | Optional | Role type filter. |
| string | path | Required | Role name. |
Request body parameters
Name | Type | Req/Opt | Description |
|---|---|---|---|
CreateRole | Create role | ||
name | string | Optional | Custom role name. Must be unique in the organization and meet role name length and format requirements. |
description | string | Optional | Custom role description. Must be between 1 and 120 characters. |
permissions | array | Optional | Array of permission names assigned to the custom role. |
UpdateRole | Update role | ||
name | string | Optional | Updated custom role name. Must be unique in the organization and meet role name length and format requirements. |
description | string | Optional | Updated custom role description. Must be between 1 and 120 characters. |
permissions | array | Optional | Array of permission names assigned to the custom role. |