Account Groups
Update Account Group
Updates the name, merchant ID or parent group of an existing account group
PATCH
Update Account Group
Updates the details of an existing account group: its name, its merchant ID, or the group it is nested under.
Only the fields present in the body are changed.
parent_code has three states: omit it to leave the parent untouched, send null to detach the group and make it a root again, or send another group’s id to nest the group under it. Nesting is structural only — it does not grant or revoke any permission.Authorizations
Path Parameters
Account group UUID.
Body
application/json
Account group name (min=1, max=255).
Local identifier (min=1, max=255).
The id of the group to nest this group under. Omit it to leave the parent unchanged; send null to detach the group and make it a root again. The parent must belong to the same organization and must not be the group itself or one of its descendants.