Detail User Admin
Developing
GET
/v1/users/admin/{id}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET '/v1/users/admin/{{$string.uuid}}'
Response Response Example
{
"message": "Sukses mengambil data user admin",
"data": {
"id": "8ac6554f-f06c-4659-a706-4151bc0c4912",
"fullname": "Smith John",
"email": "smith.john@example.com",
"address": "JL ABC",
"role": {
"id": "68fc1f04-98b7-48e9-8da7-f8ba33a32c54",
"name": "Administrator Tenan",
"key": "administrator_tenan"
},
"company": {
"id": "d2a3c66a-a65c-47a3-a60f-e6aeac5aa0b5",
"email": null,
"npwp": "323e4567-e89b-12d3-a456-426614174002",
"name": "PT Construction Project",
"business_field": "Construction",
"operation_status": "construction",
"type": "tenant",
"status_pu": "registered",
"no_pu": "non_construction",
"pic_name": "Bob Johnson",
"pic_phone": "6281234567892",
"address": null
},
"phone_number": "81381273116",
"is_active": true,
"account_quota": 5,
"is_email_verified": false,
"file_name": "499de52c4d16a40eddc49854f8833b8e-dummy.pdf",
"file_url": "https://minio.dot.co.id/bms-autogate-kek-gresik-dev/uploads/499de52c4d16a40eddc49854f8833b8e-dummy.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=PYysyv1GrF5SekbWoqjh%2F20250522%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250522T104940Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=f6e5bdfe02ac00e03d14b21429d07554960f0bedd260b7f1ef646717d272b92b",
"file_path": "uploads/499de52c4d16a40eddc49854f8833b8e-dummy.pdf",
"created_by": {
"id": "9b1cf153-c0c3-420e-8e83-09d88398760b",
"fullname": "admin"
}
}
}
Request
Path Params
id
stringÂ
required
Example:
{{$string.uuid}}
Responses
Modified at 2025-05-21 06:07:19