cURL
curl --request POST \ --url https://api.avenia.io:8443/v2/v2/account/sub-accounts \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "accountType": "<string>", "name": "<string>" } '
{ "id": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Created