Update User Admin
Developing
PATCH
/v1/users/admin/{id}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request PATCH '/v1/users/admin/{{$string.uuid}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"fullname": "Smith John",
"email": "smith@example.com",
"phone_number": "81381273116",
"address": "JL ABC",
"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 mengubah user admin",
"data": null
}
Request
Path Params
id
stringÂ
required
Example:
{{$string.uuid}}
Body Params application/json
Responses
Modified at 2025-05-21 06:37:47