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

Authorizations

Authorization
string
header
required

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
permissions
object[]
required

The permissions assigned to the role.

name
string

The name of the role.

slug
string

The slug of the role.

Response

200 - application/json
role
object
required