Org Groups
Create org group memberships
Add a batch of organizations to an existing organization group. This operation is not supported for organization groups with group_type set to config_management. This is an atomic operation: either all organizations are added or none are. Each request must include between 1 and 100 organizations. Each organization must be identified by a unique org_uuid and org_site pair, and must be in the same site as the requesting organization. The requesting organization must own the organization group.
post/api/v2/org_group_memberships
Request
- Base URLhttps://api.datadoghq.com
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code/oauth2/v1/authorizeToken URL/oauth2/v1/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"data": {
"attributes": {
"orgs": [
{
"org_site": "us1",
"org_uuid": "c3d4e5f6-a7b8-9012-cdef-012345678901"
}
]
},
"relationships": {
"org_group": {
"data": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef0123456789",
"type": "org_groups"
}
}
},
"type": "org_group_memberships"
}
}Response
Created
Changes
Changes to this operation have not been checked yet.