Skip to content
Gallery
API Documentation Admin Webapp
Share
Explore
EMPLOYEE

EMPLOYEE UPDATE

PUT /employee/update/:id

Request
{
"given_name":"string",
"family_name":"string",
"state":"string",
"address":"string",
"city":"string",
"phone_number":"string",
"role":"string"
}
Response (Success)
{
"status":true,
"code":"EMPLOYEE_UPDATE_SUCCESS",
"payload":{
"id":"string",
"created_at":"date",
"updadted_at":"date",
}
}

Response (Error)
{
"status": false,
"code": "EMPLOYEE_UPDATE_FAILED",
"message": "Bad request"
}

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.