program_id, but the group itself is not scoped to one program.
Members hold a role of MEMBER or ADMIN. A group is created with at least one ADMIN. Removing its last ADMIN returns 409, and so does demoting them with Update group member role or Add a member. A removed member’s status becomes LEFT, and the group’s balance does not change.
No endpoint deletes a group. To archive one, send PATCH with "status": "ARCHIVED". Archived groups drop out of listings unless include_archived=true, and balance operations and transfers reject them. Set status back to ACTIVE to restore one.
Endpoints
For usage patterns and examples, see the Groups guide.