Delete Groups

Use the Delete Groups endpoint to delete one or more groups. You cannot delete a group that has subgroups or linked accounts. To delete a group that has subgroups or linked accounts, follow the steps in Delete a Group in Creating a Corporate Hierarchy.

See Creating a Corporate Hierarchy for instructions on using this endpoint.

Status codes

See Global Response Statuses for status codes that are common across endpoints.

The table below lists status codes that apply to this specific endpoint.

Status codeDescription
621-01Invalid group ID. The groupId does not exist in the core. Verify that the group ID is correct by calling Get Group Hierarchy for the root group.
621-02Cannot delete a group that has subgroups. See Delete a group in Creating a Corporate Hierarchy for more information.
621-03Cannot delete a group that has linked accounts. See Delete a group in Creating a Corporate Hierarchy for more information.
Language
Click Try It! to start a request and see the response here!