Project Roles

Create Project Role

Changed on

Creates a custom project role from a set of policies. The role name must be unique within the project and cannot collide with a system-defined role name.

post/v1/projects/{projectId}/roles

Request

Path parameters

projectIdstring required

The unique identifier of the project

Request body

namestring required

Name of the role (must be unique within the organization and cannot be a system role name)

descriptionstring nullable

Optional description of the role

policyIdsstring[] required

The ids of the policies to attach to this role

Response

successboolean required

Indicates if the request was successful

Changes