Update a legal entity

PUT {{api-url}}/customer-management/{{tenant}}/legal-entities/{{legalEntityId}}

Preview Updates a legal entity.

Important: If automatically generated customer group is not present in customerGroups list, this group will be removed from iam.


### Required scopes * clientmanagement.legalentity_manage

Request Body

{"name"=>"Subsidiary name", "type"=>"SUBSIDIARY", "parentId"=>"627e06ecf0452c2d6c0b81391", "accountLimit"=>{"currency"=>"EUR", "value"=>1000.99}, "legalInfo"=>{"legalName"=>"Some subsidiary name", "registrationDate"=>"2022-03-31T13:18:02.379Z", "registrationAgency"=>"Sub reg agency", "registrationId"=>"627e06ecf0452c2d6c0b81391", "countryOfRegistration"=>"DE", "taxRegistrationNumber"=>"4311"}, "customerGroups"=>[{"id"=>"123e06ecf0452c2d6c0b81390"}, {"id"=>"123e06ecf0452c2d6c0b12345"}], "entitiesAddresses"=>[{"id"=>"123e123455452c2d6c0b81390"}, {"id"=>"123e06ecf0acd223140b12345"}], "documents"=>[{"id"=>"123e121111452c2d6c0b81390"}, {"id"=>"123e06ecf0acd223133333345"}], "approvalGroup"=>[{"id"=>"123e121111452c12330b81390"}, {"id"=>"123e061110acd223133333345"}], "metadata"=>{"version"=>1}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring