Create User (Operational) Tenant
Developing
POST
/v1/users/tenant-operational
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/v1/users/tenant-operational' \
--header 'Content-Type: application/json' \
--data-raw '{
"datas": [
{
"full_name": "Smith Johnson",
"email": "smith@example.com",
"phone_number": "081381273116",
"company_id": "f1ee1129-3589-45ec-ac22-72a7c2a5d0cb",
"role_id": "093b974b-076a-496a-a0a8-d5891a6a0997",
"is_active": true,
"attachment_url": "http://url.com"
},
{
"full_name": "John Doe",
"email": "johndoe@example.com",
"phone_number": "081381273117",
"company_id": "f1ee1129-3589-45ec-ac22-72a7c2a5d0cb",
"role_id": "093b974b-076a-496a-a0a8-d5891a6a0997",
"is_active": true,
"attachment_url": "http://url.com"
}
]
}'
Response Response Example
{
"message": "Users created successfully",
"data": [
{
"id": "4f584534-1621-4165-871e-46a84ced9949",
"fullname": "Smith Johnson",
"email": "smith@example.com",
"phone_number": "081381273116",
"role_id": "093b974b-076a-496a-a0a8-d5891a6a0997",
"is_active": true
},
{
"id": "4533d554-3a97-4bb8-b231-81e68e519382",
"fullname": "John Doe",
"email": "johndoe@example.com",
"phone_number": "081381273117",
"role_id": "093b974b-076a-496a-a0a8-d5891a6a0997",
"is_active": true
}
]
}
Request
Body Params application/json
Responses
Modified at 2025-04-22 03:43:16