Creates a new staff member.
Request
Send your HTTP requests with an Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:Authorization: Basic *****************
Body Params multipart/form-data
Responses
application/json {
"message": "Success",
"data": {
"staffid": "2",
"email": "[email protected]",
"role": "Employee",
"last_login": null,
"active": "1",
"fullname": "john doe"
}
}
Modified at 2024-09-05 09:35:49