Skip to main content

Attach organizations to a group by ID

POST 

/groups/:group_id/organizations

Attaches existing organizations, skipping those already attached. Every member of an attached organization, present and future, reaches the group's grants. On a sponsored group, a refusal answers 409 with its code in error.name: SPONSORED_GROUP_ALREADY_EXISTS for an organization that already holds a sponsored group of the same owner, SPONSOR_CANNOT_BE_MEMBER for the owner itself. error.data.refusals lists every refused organization as {organizationId, message}, and nothing is attached. Attaching by ID sends no email, unlike POST /groups/{group_id}/organizations/by-slug.

Requires grant:write and at least the org-admin role.

Request​

Responses​

The IDs newly attached