# Update a personal account Updates the personal account specified in the request URL. Endpoint: PATCH /v1/persons/{person_id}/accounts/{account_id} Version: 1.0 ## Path parameters: - `person_id` (string, required) - `account_id` (string, required) ## Request fields (application/json): - `block_reasons` (array, required) The reason the customer wants to block/unblock their account. Enum: "CUSTOMER_WISH", "COMPLIANCE_PARTNER" - `person_id` (string, required) The customer's unique person ID. Example: "dc1a6812a14f6cc338cd084208535bcdcper" - `acccount_id` (string) The account ID. Example: "adc123a45d6d7cf8fbfeed537ba919d5cacc" - `comment` (string) Additional information about the request. ## Response 400 fields (application/json): - `errors` (array, required) Example: [{"id":"b805c37f-75e9-4445-974c-12d28e7584ee","status":400,"code":"invalid_json","title":"Invalid JSON","detail":"The provided JSON was not properly formatted."}] - `errors.id` (string) A unique identifier for this error message. Example: "b805c37f-75e9-4445-974c-12d28e7584ee" - `errors.status` (integer) The HTTP status code of the response (typically in the range 4xx–5xx). Example: 400 - `errors.code` (string) A machine-readable representation of the error type. Example: "invalid_json" - `errors.title` (string) The human-readable name of the error type. Example: "Invalid JSON" - `errors.detail` (string) A human-readable description of the error. Example: "The provided JSON was not properly formatted." ## Response 404 fields (application/json): - `errors` (array, required) Example: [{"id":"b805c37f-75e9-4445-974c-12d28e7584ee","status":400,"code":"invalid_json","title":"Invalid JSON","detail":"The provided JSON was not properly formatted."}] - `errors.id` (string) A unique identifier for this error message. Example: "b805c37f-75e9-4445-974c-12d28e7584ee" - `errors.status` (integer) The HTTP status code of the response (typically in the range 4xx–5xx). Example: 400 - `errors.code` (string) A machine-readable representation of the error type. Example: "invalid_json" - `errors.title` (string) The human-readable name of the error type. Example: "Invalid JSON" - `errors.detail` (string) A human-readable description of the error. Example: "The provided JSON was not properly formatted." ## Response 500 fields (application/json): - `errors` (array, required) Example: [{"id":"b805c37f-75e9-4445-974c-12d28e7584ee","status":500,"code":"generic_error","title":"Generic Error","detail":"There was an error."}] - `errors.id` (string) A unique identifier for this error message. Example: "b805c37f-75e9-4445-974c-12d28e7584ee" - `errors.status` (integer) The HTTP status code of the response (typically in the range 4xx–5xx). Example: 400 - `errors.code` (string) A machine-readable representation of the error type. Example: "invalid_json" - `errors.title` (string) The human-readable name of the error type. Example: "Invalid JSON" - `errors.detail` (string) A human-readable description of the error. Example: "The provided JSON was not properly formatted."