Update Company
Companies
Update Company
Update an existing company’s domain or name
PUT
Update Company
Overview
This endpoint updates an existing company using sparse PUT semantics. Any field you include is replaced with the value you provide; any field you omit is left untouched.Path Parameters
integer
required
The unique identifier of the company to update.
Request Body
At least one ofdomain or name must be provided.
string
New domain for the company. Omit to leave the existing domain untouched. Maximum 255 characters.
string
New name for the company. Omit to leave the existing name untouched. Maximum 255 characters.
Response
Success Response
Returns the full company object after the update.integer
The unique identifier of the company.
string
The domain currently associated with this company.
string
The name currently associated with this company.
Error Response
string
Error description explaining what went wrong.
Example Requests
Status Codes
Notes
- Rate Limit: This endpoint has a limit of 60 requests per minute per Space. See Rate Limiting for details.
- Sparse PUT semantics: Only the fields you include in the request body are modified. Other columns are left untouched.
- At least one field is required: A request with neither
domainnornameis rejected with a 422 error.