30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

BuddyBoss Delete Group

buddyboss/delete-group permanently deletes a group along with everything it contains.

Two confirmations, and one hard refusal.

Before you run it

This deletes a group and everything inside it: memberships, the entire activity stream, albums, media, documents, the group forum and its message threads. It requires confirm_name equal to the group name and confirm_member_removal equal to the current member count, both checked live. Groups with child groups are refused outright — BuddyBoss leaves children pointing at a group that no longer exists. To hide a group without destroying it, buddyboss/manage-group with status=hidden does that.

At a glance

Abilitybuddyboss/delete-group
ToolsetBuddyBoss — toolset/buddyboss
GroupBuddyBoss › Groups
RequiresAcrossAI Pro, plus BuddyBoss Platform active on the site
Capabilitymanage_options
SafetyDestructive and permanent — deletes the group and everything in it. Requires two confirmations checked against the live record.
RepeatableNot idempotent — each call changes the row set, so re-running is not a no-op
Ships inAcrossAI Pro 0.9.16 and later

How it works

The member count confirmation is the one that conveys scale. A group ID says nothing about whether four people or four hundred are about to lose a space, and the count makes that visible before the call rather than in the response.

It is checked against the live record, so it also catches somebody joining between your read and your write.

Child groups are refused outright rather than confirmed around. BuddyBoss does not delete children with a parent and does not re-parent them — it leaves them pointing at a group that no longer exists, which is a broken hierarchy rather than a risky one.

Move or delete the children first. buddyboss/get-group reports them.

The group forum goes with the group, which on a community where discussion lives in group forums is usually the largest part of what is lost — and it is the part nobody pictures when they picture deleting a group.

Hiding is the reversible alternative and produces almost the same member-facing outcome.

Not idempotent.

Input

NameTypeRequiredWhat it is
group_idintegerYesThe group.
confirm_namestringYesMust equal the group name exactly.
confirm_member_removalintegerYesMust equal the current member count.
confirmbooleanYes — must be trueThe irreversibility gate. Without it the call is refused before anything is touched.

What comes back

NameTypeWhat it is
group_idintegerThe group deleted.
deletedobjectWhat went with it.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

Delete the discontinued project group.

It resolves to one call:

{
  "ability": "buddyboss/delete-group",
  "parameters": {
    "group_id": 12,
    "confirm_name": "Mentors",
    "confirm_member_removal": 38
  }
}

Worth knowing

  • The group forum goes too, which is often the largest loss.
  • Child groups block the deletion entirely. Move them first.
  • Both confirmations are checked live.
  • Hiding the group is the reversible alternative.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading