Bulk Create User Admin
Developing
POST
/v1/users/admin/bulk
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/v1/users/admin/bulk' \
--header 'Content-Type: application/json' \
--data-raw '{
"datas": [
{
"fullname": "Smith Johnson 23",
"email": "smith23@example.com",
"phone_number": "81381273144",
"address": "jl abcde",
"company_id": "6d401449-89ae-4ab7-81f5-cac6ce22750b",
"role_id": "6a57bd4f-4e48-4892-877f-4149f5e4fe35",
"is_active": true,
"account_quota": 5,
"file_path": "uploads/499de52c4d16a40eddc49854f8833b8e-dummy.pdf"
},
{
"fullname": "John Doe",
"email": "johndoe@example.com",
"phone_number": "81381273155",
"address": "jl abcde",
"company_id": "d2a3c66a-a65c-47a3-a60f-e6aeac5aa0b5",
"role_id": "68fc1f04-98b7-48e9-8da7-f8ba33a32c54",
"is_active": true,
"account_quota": 5,
"file_path": "uploads/499de52c4d16a40eddc49854f8833b8e-dummy.pdf"
}
]
}'
Response Response Example
{
"message": "Sukses membuat user admin",
"data": null
}
Request
Body Params application/json
Responses
Modified at 2025-05-21 06:38:00