1.4.1 Cancel Contractor
Updated at: 3/3/2022 5:22:58 AM
Url
/api/v2/{fleet_token}/contractors/cancel/{id}
Method
Post
Body
```json
{
"EffectiveDate": "<date:yyyy-MM-dd>"
}
```
Parameters
- `EffectiveDate` Optional, default to **Today**.
Response
```json
{
"Success": true,
"Message": "<message>",
"Data": {
"ID": "<id:integer>",
"Number": "",
"Name": "",
"FirstName": "",
"MiddleName": "",
"LastName": "",
"Ssn": "",
"Email": "",
"PhoneNumber": "",
"Address": "",
"Address2": "",
"City": "",
"State": "",
"Zip": "",
"License": "",
"LicenseState": "",
"InactivationDate": ""
}
}
```
Returns
- `Success` boolean, true or false.
- `Data` The closed contractor object.
Notes
- The API first cancels all active coverage underneath the contractor on the given effective date, then close the units and finally close the contractor itself.
In this article