Create or update accout group quotas
POST {{baseUrl}}/quotas/account-groups/assign
This endpoint assigns quota values to multiple account groups across multiple organizations. To use this endpoint, you need the Edit organization and account group quotas
permission, which is a management-level permission. This endpoint follows a cumulative behaviorββThis means that the quotas are assigned to the designated account groups, and any previous assignments remain in place without any unassignment occurring.
Request Body
{"organizations"=>[{"orgId"=>"1234", "accountGroups"=>[{"value"=>12000, "aid"=>"1234"}, {"value"=>12000, "aid"=>"1234"}]}, {"orgId"=>"1234", "accountGroups"=>[{"value"=>12000, "aid"=>"1234"}, {"value"=>12000, "aid"=>"1234"}]}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"organizations":[{"orgId":"1234","accountGroups":[{"value":12000,"aid":"1234"},{"value":12000,"aid":"1234"}]},{"orgId":"1234","accountGroups":[{"value":12000,"aid":"1234"},{"value":12000,"aid":"1234"}]}]}