operation delete api v1 policies parameter.md
Delete a policy
DELETE /api/v1/policies/{policy}
Permanently deletes a policy. Deleting a policy immediately cancels the insurance coverage for the contractor. Any assignments with an effective date after the policy deletion date will also be cancelled.
Servers
- Production server: https://api.1099policy.com (Production server)
Parameters
Path parameters
- policy (string)
The ID of the desired policy (e.g.,pl_WzFRszJhoY).
Responses
200
Returns an object with a deleted parameter on success. If the policy 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 policy was deleted.id (string)
The policy ID.object (string)