{
"data": {
"type": "GeneratedAccount",
"attributes": {
"name": "string",
"email": "string",
"externalId": "string",
"password": "string",
"timezone": "string",
"attr": {},
"disableWelcomeEmail": true,
"customMessage": "string"
},
"relationships": {
"userGroup": {
"data": {
"id": "FID001",
"type": "UserGroup"
}
},
"subPortal": {
"data": {
"id": "FID001",
"type": "SubPortal"
}
}
}
}
}
curl --location --request POST 'https://api.synap.ac/v3/generated-accounts' \
--header 'Content-Type: application/vnd.api+json' \
--data-raw '{
"data": {
"type": "GeneratedAccount",
"attributes": {
"name": "string",
"email": "string",
"externalId": "string",
"password": "string",
"timezone": "string",
"attr": {},
"disableWelcomeEmail": true,
"customMessage": "string"
},
"relationships": {
"userGroup": {
"data": {
"id": "FID001",
"type": "UserGroup"
}
},
"subPortal": {
"data": {
"id": "FID001",
"type": "SubPortal"
}
}
}
}
}'
{
"data": {
"id": "FID001",
"type": "GeneratedAccount",
"attributes": {
"name": "string",
"email": "string",
"externalId": "string",
"password": "string",
"timezone": "string",
"attr": {},
"disableWelcomeEmail": true,
"customMessage": "string"
},
"relationships": {
"userGroup": {
"data": {
"id": "FID001",
"type": "UserGroup"
}
},
"subPortal": {
"data": {
"id": "FID001",
"type": "SubPortal"
}
}
}
}
}