Project Roles
Create
Create a project role
POST
/
api
/
v1
/
workspace
/
{projectSlug}
/
roles
You can read more about the permissions field in the permissions documentation.
Authorizations
Authorization
string
headerrequiredAn access token in Infisical
Path Parameters
projectSlug
string
requiredSlug of the project to create the role for.
Body
application/json
slug
string
requiredThe slug of the role.
name
string
requiredThe name of the role.
description
string
The description for the role.
permissions
object[]
requiredThe permissions assigned to the role.
Response
200 - application/json
role
object
requiredWas this page helpful?