POST
/
api
/
v1
/
groups
/
{id}
/
users
/
{username}
cURL
curl --request POST \
  --url https://us.infisical.com/api/v1/groups/{id}/users/{username}
{
  "email": "<string>",
  "username": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Path Parameters

id
string
required

The ID of the group to add the user to.

username
string
required

The username of the user to add to the group.

Response

Default Response

username
string
required
id
string<uuid>
required
email
string | null
firstName
string | null
lastName
string | null