companies
Update a company (v2)
Changed onPartially update a company: only the fields in company change, and null clears an optional field. logo_url accepts only the URL a completed logo upload returned for this company, or null. A website another company already uses is 409 with details.existing_company_id. Viewers are refused. Workspace-only: send the X-Dex-Workspace header (404 record_not_found without it). Requires an Idempotency-Key header. Returns { data: { company: {...} } }.
patch/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 required
Example:01HV8N6X7K3P9Q5R2T4Y6W8Z0A
Required. UUID per logical operation, reused on every retry. See apps/rest-api/src/shared/idempotency.ts for the full contract. Missing → 400 BadRequest; same key + different body → 409 Conflict.
Request body
Response
Successful response
Changes
- info
endpoint added
- info