Delete an entity

DELETE /api/v1/entities/{entity_id}

Permanently deletes an entity. It cannot be undone. Also immediately cancels any insurance policies connected with active jobs managed by the entity.

application/json

Body

  • entity string Required

    The ID of the desired entity.

Responses

  • 200 application/json

    A successfully deleted entity. Otherwise, this call returns an error, such as if the entity has already been deleted.

    Hide response attributes Show response attributes object
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)"
}