POST
/
api
/
v2
/
workspace
/
{projectId}
/
groups
/
{groupId}

Authorizations

Authorization
string
headerrequired

An access token in Infisical

Path Parameters

projectId
string
required

The ID of the project to add the group to.

groupId
string
required

The ID of the group to add to the project.

Body

application/json
role
string
default: no-access

The role for the group to assume in the project.

Minimum length: 1
roles
object[]

Response

200 - application/json
groupMembership
object
required