Staffs - Delete a Staff
DELETE yourdomain.com/api/delete/staffs/:id
Header
json
| Field | Type | Description | 
|---|---|---|
| Authorization | String | 
 Basic Access Authentication token.  | 
Parameter
json
| Field | Type | Description | 
|---|---|---|
| id | Number | 
 Staff unique ID.  | 
Success 200
json
| Field | Type | Description | 
|---|---|---|
| status | String | 
 Request status.  | 
| message | String | 
 Staff registration successful.  | 
Error 4xx
json
| Name | Type | Description | 
|---|---|---|
| status | String | 
 Request status.  | 
| message | String | 
 Not register your accout.  | 
HTTP/1.1 200 OK
{
  "status": true,
  "message": "Staff Delete."
}
HTTP/1.1 404 Not Found
{
  "status": false,
  "message": "Staff Not Delete."
}