companies

Delete Company

Delete a company. Caller must be a workspace member.

The Postgres FK from claims.company_id is ON DELETE RESTRICT, so deleting a company still referenced by any claim raises IntegrityError. Translate that into a 409 with a helpful message rather than a raw 500.

delete/workspaces/{workspace_id}/companies/{company_id}

Request

  • Base URL
    https://api.claimkit.co (the document declares no server; this is the origin it was published from)
  • URL
    https://api.claimkit.co/workspaces/{workspace_id}/companies/{company_id}
  • Auth
    none declared

Path parameters

workspace_idinteger required
company_idinteger required

Response

Successful Response

Changes

No recorded changes to this operation across all 1 revision of this API.