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

Authorizations

Authorization
string
header
required

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
description
string | null

The description for the role.

name
string

The name of the role.

permissions
object[]

The permissions assigned to the role.

slug
string

The slug of the role.

Required string length: 1 - 64

Response

200 - application/json
role
object
required

Was this page helpful?