Update a company
Updates the Company name, settings or slug, with optional slug regeneration from the new name.
Body
All other fields4 fields
Empty keeps the current name.
Replaces the whole settings object; omitted leaves it unchanged. Checked keys: timezone (IANA name), date_format (day_month_year, month_day_year or iso), default_language (en or de) and incident_screenshots_default (boolean). default_language, incident_screenshots_default and the audit drain keep their stored value when not sent; the report identity is only changed through /organization/report-branding.
Empty keeps the current slug. A new slug has to derive from the Company name or from a verified domain of the Company.
Lets a slug that was generated from the old name follow the new name. Ignored when slug is sent.
Returns
A successful request returns 200 with application/json.
Response fields 1 top-level fields
| Field | Type | Description | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
data | Organization | ||||||||||||||||||||||||||||
Organization · 8 fields
| |||||||||||||||||||||||||||||
Errors
Only the errors this operation can return. Every error uses the same envelope.
| Status | Code | Meaning |
|---|---|---|
| 400 | bad_request | The request is malformed or fails validation. |
| 403 | permission_denied | The credentials do not permit this action. |
Every call can also return unauthorized (401), rate_limit_exceeded (429) or internal_error (500 / 502). See Responses and errors.