Delete an entity
Permanently deletes an entity. It cannot be undone. Also immediately cancels any insurance policies connected with active jobs managed by the entity.
DELETE
/api/v1/entities/{entity_id}
curl \
-X DELETE https://api.1099policy.com/api/v1/entities/{entity_id} \
-H "Content-Type: application/json" \
-d '{"entity":"en_Ah3tqYn"}'
Request example
{
"entity": "en_Ah3tqYn"
}
Response examples (200)
{
"id": "en_Ah3tqYn",
"object": "entity",
"deleted": true,
"deleted_at": "(utcnow)"
}