curl --location --request POST 'https://app.hustro.com/api/v2/user' \
--header 'hustro-client: m2m' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "{{userEmail}}",
"label": "{{userLabel}}",
"permissions": {
"clients": [
{
"_id": "",
"projects": [
{
"_id": "",
"siteIds": [
"6808b336be3cfeb2453418d3"
],
"processes": [
"PROCESS_QA",
"PROCESS_TSK"
],
"role": "standard"
}
]
}
]
}
}'[
{
"_id": "string",
"email": "string",
"personalData": [
{
"clientId": "string",
"label": "string",
"phone": "string"
}
],
"createdAt": "string",
"createdBy": "string",
"modifiedAt": "string",
"modifiedBy": "string",
"label": "string",
"role": "string",
"processes": [
"string"
],
"sites": [
"string"
]
}
]