# Update an affiliated person Update records of an affiliated person object in our system Endpoint: PATCH /affiliated-persons/{affiliated_person_id} Security: Your API key ## Path parameters: - `affiliated_person_id` (string, required) A unique identifier of an affiliated person object, that is assigned by our system after an affiliated person object was created with a “Create an affiliated person” request Example: "74cec9e50f844748be0bc321a2bf66638f54" ## Request fields (application/json): - `first_name` (string,null) A first name of an object - `last_name` (string,null) A last name of an object - `title` (string,null) A title of an authorised affiliated person object in a company - `share` (number,null) A share in percents of a beneficial affiliated person object in a company - `dob` (string,null) The date of birth of a person, formatted according to ISO 8601 - `residence_country` (string,null) A residence country of an object. A two-letter country code according to ISO 3166-2 - `nationality` (string,null) A nationality country of a person. A two-letter country code according to ISO 3166-2 - `email` (string,null) An email address of an object ## Response 200 fields (application/json): - `affiliated_person_id` (string) A unique identifier of an affiliated person object, that is assigned by our system after an affiliated person object was created with a “Create an affiliated person” request ## Response 400 fields (application/json): - `type` (string) Example: "bad_request" - `errors` (array) ## Response 404 fields (application/json): - `type` (string) Example: "not_found" - `errors` (array) - `errors.parameter` (string) Example: "affiliated_person_id" - `errors.message` (string) Example: "Affiliated person was not found" ## Response 422 fields (application/json): - `type` (string) Example: "validation" - `errors` (array) - `errors.parameter` (string) Example: "*" - `errors.message` (string) Example: "At least one parameter should be set" ## Response 500 fields (application/json): - `type` (string) Example: "internal_server" - `errors` (array)