Create a new group of sub-accounts

This endpoint allows to create a group of sub-accounts

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

Request

This endpoint expects an object.
groupNamestringRequired

The name of the group of sub-accounts

subAccountIdslist of longsOptional

Pass the list of sub-account Ids to be included in the group

Response

Group ID
idstring or null

Errors