curl --location 'https://sample.localhost:8456/api/customer/accounts/customer-accounts/01JB03026VTXK0BA6043YQZ814/account-member' \
--header 'X-Context-Request: { "applicationId": "SAMPLE-APP", "tenantId": "SAMPLE", "customerContextId": "SAMPLE", "accountId": "01JB03026VTXK0BA6043YQZ814" }' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer BEARER_TOKEN_HERE \
--data-raw '{
"firstName": "Acct",
"lastName": "User",
"username": "by-super-admin@test.com",
"email": "by-superAdmin@test.com",
"password": "...",
"phoneNumber": "123-123-1234",
"restrictions": [
{
"type": "SUBSCRIPTION",
"targets": [
"subId1",
"subId2"
]
}
],
"accountRoleIds": [
"-1000", "-9000"
],
"canViewAuditLogs": true,
"someProp": "someVal"
}'