PATCH
/
api
/
v2
/
workspace
/
{projectId}
/
identity-memberships
/
{identityId}

Authorizations

Authorization
string
headerrequired

An access token in Infisical

Path Parameters

projectId
string
required

The ID of the project to update the identity membership for.

identityId
string
required

The ID of the identity to update the membership for.

Body

application/json
roles
object[]
required

A list of role slugs to assign to the identity project membership.

Response

200 - application/json
roles
object[]
required