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

Authorizations

Authorization
string
headerrequired

An access token in Infisical

Path Parameters

projectId
string
required
identityId
string
required

Body

application/json
role
string
default: no-access
roles
object[]

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

Response

200 - application/json
identityMembership
object
required