Delete an account group
DELETE/:workspace/account-groups/:accountGroup
Deletes an account group. Only the group is removed: its accounts stay connected and their posts are untouched. Requires the ADMIN or MEMBER workspace role; the VIEWER role receives 403.
This endpoint does not return 404 for an unknown group UUID: it returns 200 with {"success": false} when no matching group existed in the workspace.
Request
Responses
- 200
- 401
- 403
- 404
Delete result. success is false when no matching group existed in the workspace.
The bearer token is missing, malformed, unknown, or expired.
The token is valid, but the user it belongs to may not perform this action:
- they are not a member of the
{workspace}in the path; or - their workspace role is too low for this endpoint (write routes require Admin or Member); or
- for
/panelendpoints, they are not a platform administrator.
The {workspace} UUID in the path does not match any workspace.