Delete a policy

DELETE /api/v1/policies/{policy_id}

Permanently deletes a policy. Deleting a policy immediately cancels the insurance coverage for the contractor.

application/json

Body

Responses

  • 200 application/json

    Returns an object with a deleted parameter on success. If the policy ID does not exist, this call returns an error.

    Hide response attributes Show response attributes object
DELETE /api/v1/policies/{policy_id}
curl \
 -X DELETE https://api.1099policy.com/api/v1/policies/{policy_id} \
 -H "Content-Type: application/json" \
 -d '{"policy":"string"}'
Request example
{
  "policy": "string"
}
Response examples (200)
{
  "deleted": true,
  "deleted_at": "(utcnow)",
  "id": "pl_WzFRszJhoY",
  "object": "policy"
}