Replace a group
/auth/groups/{id}/manage Delete and money: deletes, credits, servers or panel settings. Scopes
Change a group you manage. You can give only permissions you hold; trial and refund rules are changed by panel operators only.
Path parameters
idintegerrequired
Body
namestringrequiredpermissionsinteger[]Permission ids. You can give only permissions you hold.
parentintegercan be nullOn create: the group it goes under, one of yours. Left out: your own group when you have one.
is_resellerbooleanIts members are resellers who pay with credits.
can_customize_packagesbooleanMembers may build their own packages (only if you may).
can_customize_bouquetsbooleanMembers may build their own bouquets (only if you may).
trials_limitintegercan be nullTrial lines each member may make per period; null: no limit, 0: none.
trials_periodstringday- Per dayweek- Per 7 daysmonth- Per 30 days
One of:
"day""week""month"trials_min_balancestring (decimal)The balance a member needs to make a trial line.
refund_window_hoursintegerA line deleted within this many hours of its payment is refunded; 0: never.
Response
200 OK
idintegerrequiredread-onlynamestringrequiredpermissionsinteger[]permissions_displaystring[]requiredread-onlypermissions_countintegerrequiredread-onlyGet count of permissions in this group
usersobject[]requiredread-onlyidstring (uuid)requiredread-onlyusernamestringrequiredread-onlyemailstring (email)requiredread-onlycan be nullfirst_namestringrequiredread-onlylast_namestringrequiredread-onlyis_staffbooleanrequiredread-onlyDesignates whether the user can log into this admin site.
is_activebooleanrequiredread-onlygroupsinteger[]requiredread-only
users_countintegerrequiredread-onlyGet count of users in this group
parentintegerrequiredread-onlycan be nullparent_namestringrequiredread-onlycan be nullcreated_by_usernamestringrequiredread-onlycan be nullcreated_atstring (date-time)requiredread-onlyis_resellerbooleanrequiredread-onlycan_customize_packagesbooleanrequiredread-onlycan_customize_bouquetsbooleanrequiredread-onlytrials_limitintegerrequiredread-onlytrials_periodstringrequiredread-onlyDefault:
"day"trials_min_balancestring (decimal)requiredread-onlyrefund_window_hoursintegerrequiredread-onlyDefault:
0
Errors
- 400 Something sent is not valid. Each field that is wrong is named with what is wrong.
- 401 No credential, or one that is wrong, expired or revoked.
- 403 The account, or the key's or app's scopes, may not do this.
- 404 Nothing with this id, or nothing the account can see.
- 429 Slow down: wait the seconds in the Retry-After header, then try again.