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*stringLength
1 <= lengthapplication/json- body
accountGroupIds*array<>Items
items <= 1000Order updated
application/json- response
success*booleancurl -X PUT "https://example.com/companies/string/account_groups/reorder" \ -H "Content-Type: application/json" \ -d '{ "accountGroupIds": [ "string" ] }'{ "success": true}