Update Company Entity
- Updates Company Entity.
- This feature is available only in AA-14FBIS panel
Path Parameters
- company-uid integer requiredPossible values: >= 1Unique Identifier for Company Item 
- application/json
Request Body required
- name string requiredPossible values: non-emptyand<= 200 charactersCompany name. Should be unique 
- info stringPossible values: <= 1000 charactersAdditional Company info 
- text_color string requiredPossible values: [ auto,black,white]Additional option to customize text color in Company screen. auto - system will try to calculate proper text color according to background image white - white text color will be used black - black text color will be used 
- 200
- 400
- 401
- 403
OK
Validation error or required fields are not provided
- Missed json body or wrong param. Response sample:
  "error": "Wrong JSON body"
- auth_factors must contain at least one item Response sample:
  "error": "Wrong JSON body: no value for `param`"
where param - is a required field that was not provided
- Field was of the wrong type. Response sample:
  "error": "Wrong JSON body: value `param` was of the wrong type"
where param - is a field of the wrong type
- application/json
- Schema
- Example (from schema)
- Wrong name
- Wrong info
- Wrong text color
- Company exists
- Missed
Schema
- error stringError message 
{
  "error": true
}
{
  "error": "Wrong name"
}
{
  "error": "Wrong info"
}
{
  "error": "Wrong text color red, available values are [auto, white, black]"
}
{
  "error": "Company with the same name already exists"
}
{
  "error": "Wrong JSON body: no value for name"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error stringError message 
{
  "error": "Log In"
}
{
  "error": "Log In"
}
Administrator rights required. You are currently logged in with different user account. Log In with administrator rights
- application/json
- Schema
- Example (from schema)
- Admin Rights Required
Schema
- error stringError message 
{
  "error": "Administrator rights required"
}
{
  "error": "Administrator rights required"
}