companies

Delete a company (v2)

Changed on

Permanently delete a company and its logo. Owners and admins only; closed to API keys. 404 record_not_found when it is not in the workspace. Workspace-only: send the X-Dex-Workspace header (404 record_not_found without it). Idempotency-Key is optional. Returns { data: { affected: 1, ids: [companyId] } }.

delete/v2/companies/{companyId}

Request

  • Base URL: https://api.prod.getdex.com
  • URL: https://api.prod.getdex.com/v2/companies/{companyId}
  • Auth: HTTP bearer

Path parameters

companyIdstring uuid required

Headers

Idempotency-Keystring
Example:01HV8N6X7K3P9Q5R2T4Y6W8Z0A

Optional. Accepted to dedupe retries on this endpoint. See apps/rest-api/src/shared/idempotency.ts.

Response

Successful response

Changes