Skip to main content
POST
/
api
/
v1
/
sub-organizations
/
{subOrgId}
/
memberships
cURL
curl --request POST \
  --url https://us.infisical.com/api/v1/sub-organizations/{subOrgId}/memberships \
  --header 'Authorization: Bearer <token>'
{
  "organization": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "slug": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "parentOrgId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}

Authorizations

Authorization
string
header
required

An access token in Infisical

Path Parameters

subOrgId
string
required

The id of the sub organization to create a membership in.

Response

Default Response

organization
object
required