post https://api-{corename}.{env}.gpsrv.com/intserv/4.0/setAccountGroupRelationships
Use the Set Account Group Relationships endpoint to associate one or more accounts with a group. This endpoint can update up to 100 accounts in one request. You can also use this endpoint to reassign an account to a different group without first deleting the existing relationship. 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 code | Description |
---|---|
618-01 | Invalid group ID. The groupId does not exist in the core. Verify that groupId is correct by calling Get Group Hierarchy for the root group. |