Delete contract record
This interface is used to delete worker's contract.
Delete contract record
POST /delete-ee-contract
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
Name
Type
Description
contract_id
number
Contract record id
customer_id
number
Provide by Marco
Parameter Example
{
"contract_id": "793",
"customer_id":"1"
}Response
{
"message": "Delete Successfully"
}{
"error": "Invalid request"
}{
"message": "Contract record is not exist"
}Last updated