PATCH
/
api
/
v1
/
workspace
/
{projectSlug}
/
roles
/
{roleId}

Authorizations

Authorization
string
headerrequired

An access token in Infisical

Path Parameters

projectSlug
string
required

The slug of the project to update the role for.

roleId
string
required

The ID of the role to update

Body

application/json
slug
string

The slug of the role.

name
string

The name of the role.

description
string

The description for the role.

permissions
object[]

The permissions assigned to the role.

Response

200 - application/json
role
object
required

Was this page helpful?