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

Authorizations

Authorization
string
headerrequired

An access token in Infisical

Path Parameters

projectSlug
string
required

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.

permissions
object[]
required

The permissions assigned to the role.

Response

200 - application/json
role
object
required

Was this page helpful?