Skip to main content
POST
Create project role

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Assign a project role to a user.

project_id
string<uuid>
required

UUID of the project.

user_id
string<uuid>
required

UUID of the user to assign the role to.

role
enum<string>
required

Defines the different types of project roles that can be assigned to users or teams.

Available options:
Project Admin,
Project Writer,
Project Viewer,
Project Dashboard Viewer

Response

Details of the newly created project role assignment

Response object for standard API responses.

api_version
enum<string>
default:3.0

API version.

Available options:
2.0,
3.0
kind
enum<string>
default:NORMAL

Type of response, indicating a normal response.

Available options:
NORMAL
data
ProjectRoleUserAssignmentV3 · object

A project role assigned to a user.