Skip to main content
POST
/
groups
/
{group_id}
/
containing-groups
cURL
curl --request POST \
  --url https://api.opal.dev/v1/groups/{group_id}/containing-groups \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "containing_group_id": "f454d283-ca87-4a8a-bdbb-df212eca5353"
}'
{
  "containing_group_id": "f454d283-ca87-4a8a-bdbb-df212eca5353"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

group_id
string<uuid>
required

The ID of the group.

Body

application/json

GroupContainingGroup Object

Description

The GroupContainingGroup object is used to represent a relationship between a group and a group.

containing_group_id
string<uuid>
required

The groupID of the containing group.

Example:

"f454d283-ca87-4a8a-bdbb-df212eca5353"

Response

200 - application/json

The created GroupContainingGroup object.

GroupContainingGroup Object

Description

The GroupContainingGroup object is used to represent a relationship between a group and a group.

containing_group_id
string<uuid>
required

The groupID of the containing group.

Example:

"f454d283-ca87-4a8a-bdbb-df212eca5353"