Delete Company

delete/v1/companies/{company_id}

Delete a company record

Requires a bearer token: Authorization: Bearer <token>.

Path parameters

NameTypeRequiredDescription
company_idstring <uuid>YesUUID of the company to deletee.g. 00000000-0000-4000-8000-000000000000

Request

cURL
curl -X DELETE https://api.wellapp.ai/v1/companies/{company_id} \
  -H "Authorization: Bearer $WELL_API_TOKEN"

Responses

204Company deleted successfully

401Unauthorized - invalid API key

{
  "code": "UNAUTHORIZED",
  "status": 401,
  "title": "Unauthorized",
  "message": "See title.",
  "meta": {
    "trace_id": "a1b2c3",
    "log_id": "a1b2c3"
  }
}

404Company not found