Update natural person

PUT {{baseUrl}}/entities/natural-persons/:entityId

Fully updates an existing natural person.

Expects same input as the POST Natural person endpoint.

This endpoint supports concurrency control through the If-Match header expecting an Etag value returned by the GET endpoint.

This endpoint returns errors equivalent to the create natural person endpoint.

Allowed roles : EDITOR

Request Body

{"id"=>"78c483d7-5e6d-488b-981c-2ac4bccca2a5", "firstName"=>"Elizabeth", "lastName"=>"Henderson", "birthDate"=>"1977-04-14", "birthPlace"=>"London", "title"=>"Dr", "gender"=>"F", "birthCountry"=>"GB", "birthName"=>"Henderson", "nationality"=>"GB", "address"=>{"country"=>"GB", "city"=>"SOUTHAMPTON", "postcode"=>"SO53 5PD", "streetName"=>"71 Cherry Court", "streetNumber"=>"A. 813"}, "email"=>"elizabeth.henderson@example.com", "phoneNumber"=>"+49123456789", "mobilePhoneNumber"=>"+33987654321", "selfDeclaredAsPep"=>false, "kyc"=>{"id"=>"2deb4908-8af3-4388-9d24-6a3d0e508c4a", "date"=>"2022-05-01T13:15:45.000Z", "method"=>"video_ident", "document"=>{"nationality"=>"GB", "country"=>"GB", "number"=>"GB123456789", "issuedBy"=>"Home Office Identify & Passport Service", "issueDate"=>"n/a", "validUntil"=>"2025-04-11", "type"=>"id_card", "iban"=>"DE89370400440532013000", "reference"=>"reference123456789"}}}

HEADERS

KeyDatatypeRequiredDescription
tangany-versionnumber(Required) API version
If-Matchstring(Optional header) Avoid mid-air collisions by matching a resources etag
Content-Typestring
Acceptstring
_tangany-datastring

RESPONSES

status: OK

{"id":"78c483d7-5e6d-488b-981c-2ac4bccca2a5","firstName":"Elizabeth","lastName":"Henderson","birthDate":"1977-04-14","birthPlace":"London","title":"Dr","gender":"F","birthCountry":"GB","birthName":"Henderson","nationality":"GB","address":{"country":"GB","city":"SOUTHAMPTON","postcode":"SO53 5PD","streetName":"71 Cherry Court","streetNumber":"A. 813"},"email":"elizabeth.henderson@example.com","phoneNumber":"+49123456789","mobilePhoneNumber":"+33987654321","selfDeclaredAsPep":false,"kyc":{"id":"2deb4908-8af3-4388-9d24-6a3d0e508c4a","date":"2022-05-01T13:15:45.000Z","method":"video_ident","document":{"nationality":"GB","country":"GB","number":"GB123456789","issuedBy":"Home Office Identify \u0026 Passport Service","issueDate":"n/a","validUntil":"2025-04-11","type":"id_card","iban":"DE89370400440532013000","reference":"reference123456789"}}}