operation delete api v1 contractors parameter.md
Delete a contractor
DELETE /api/v1/contractors/{contractor}
Permanently deletes a contractor. It cannot be undone.
Also immediately cancels any active policies connected with the contractor.
Servers
- Production server: https://api.1099policy.com (Production server)
Parameters
Path parameters
- contractor (string)
The ID of the desired contractor (e.g.,cn_Ehb3bYa).
Responses
200
Returns an object with a deleted parameter on success. If the contractor ID does not exist, this call returns an error.
Body: application/json (object)
deleted (boolean)
deleted_at (integer)
Unix timestamp (seconds since epoch) of when the contractor was deleted.id (string)
The contractor ID.object (string)