Updates the company with the specified id.

<Check title="Required Permissions" icon="key">The user must be an admin or have `company-master-data:write` permissions.</Check>

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

companyIdstringRequiredformat: "uuid"
The id of the company to update.

Request

The model with updated company data.
namestringRequired0-1000 characters
The company name.
descriptionstring or nullOptional0-25000 characters
The company description.
industrystring or nullOptional0-1000 characters
The company's industry.

Response

OK
namestring0-1000 characters
The company name.
descriptionstring or null0-25000 characters
The company description.
industrystring or null0-1000 characters
The company's industry.
idstringformat: "uuid"
The id of the company.
hasImageboolean
Whether the company has an image.
companyContactInfoslist of objects or null
The company infos assigned to this company.
createdOndatetime
The date this entity was created.
createdBystringformat: "uuid"
The id of the user who created this entity.
updatedOndatetime
The date this entity was last modified.
updatedBystringformat: "uuid"
The id of the user who last modified this entity.
resourceVersionlongRead-only
The version of the entity, updated on every modification, to the ticks in UTC. Not identical to UpdatedOn.
tagslist of objects or null
The tags for this company.
projectsCountinteger
The number of all projects related to the company.
projectsInProgressCountinteger
The number of all projects in status 'progress' related to the company.
isExternalboolean

True if this entity is coming from an external workspace (awork Connect).

Errors

400
Bad Request Error