DevelopersAPIReferenceaccount_groups
Reorder
Set the display order of account groups. Pass every group id in the order you want them shown; each group's order is set to its position in the array.
Authentication
Checking whether you're signed in…
PUT
header
Authorization<token>A SaaSFlow API key (format sf_…) or an OAuth bearer token. Paste only the key — the proxy adds the Bearer prefix. Create an API key in Settings → Company settings → API keys — see API keys.
companyId*stringFormat
uuidapplication/json- body
accountGroupIds*array<>Items
items <= 1000Order updated
application/json- response
success*booleancurl -X PUT 'https://api.saasflow.com/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08/account_groups/reorder' \ -H 'Content-Type: application/json' \ -d '{ "accountGroupIds": [ "string" ]}'Example Response200
{ "success": true}