---
updatedAt: 2026-06-30T10:41:23.000Z
agentTools:
  projectIndex: https://documentation.lemonway.com/llms.txt
---

# Update Ultimate Beneficial Owner data

This method enables you to update information related to an Ultimate Beneficial Owner.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "v2",
    "title": "Lemonway DirectKit API 2.0"
  },
  "paths": {
    "/v2/accounts/{accountId}/ultimateBeneficialOwner/{UltimateBeneficialOwnerId}": {
      "put": {
        "tags": [
          "Accounts | Create & KYC"
        ],
        "summary": "Update Ultimate Beneficial Owner data",
        "description": "This method enables you to update information related to an Ultimate Beneficial Owner.",
        "operationId": "Accounts_UpdateUltimateBeneficialOwner",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "description": "Account ID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "UltimateBeneficialOwnerId",
            "in": "path",
            "description": "UltimateBeneficial Owner ID",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Authorization bearer (OAuth 2)",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PSU-Accept-Language",
            "in": "header",
            "description": "Response language accepted by final client (PSU). English by default",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PSU-IP-Address",
            "in": "header",
            "description": "IP address of the final client (PSU).",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PSU-User-Agent",
            "in": "header",
            "description": "User-agent of the final client (PSU).",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUltimateBeneficialOwnerInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateUltimateBeneficialOwnerOutput"
                },
                "examples": {
                  "response": {
                    "value": {
                      "ultimateBeneficialOwnerId": 0
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "500": {
            "description": "InternalServerError"
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://ws.lemonway.fr/mb/env-name/prod/directkitrest/"
    }
  ],
  "components": {
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "code": {
            "format": "int32",
            "type": "integer"
          },
          "message": {
            "type": "string"
          },
          "psp": {
            "$ref": "#/components/schemas/PSP"
          }
        }
      },
      "PSP": {
        "type": "object",
        "properties": {
          "message": {
            "description": "Get the Error Message from PSP",
            "type": "string"
          }
        }
      },
      "UpdateUltimateBeneficialOwnerInput": {
        "required": [
          "firstName",
          "lastName",
          "dateOfBirth",
          "cityOfBirth",
          "countryOfBirth"
        ],
        "type": "object",
        "properties": {
          "firstName": {
            "description": "Client First Name",
            "maxLength": 256,
            "minLength": 2,
            "type": "string"
          },
          "lastName": {
            "description": "Client Last Name",
            "maxLength": 256,
            "minLength": 2,
            "type": "string"
          },
          "nationality": {
            "description": "Client Nationality (use ISO 3166-1 alpha-3 format)",
            "maxLength": 19,
            "minLength": 0,
            "type": "string"
          },
          "dateOfBirth": {
            "description": "Client Birthdate",
            "pattern": "^[12]\\d{3}\\/(0[1-9]|1[0-2])\\/(0[1-9]|[12]\\d|3[01])$",
            "type": "string"
          },
          "cityOfBirth": {
            "description": "Client City of Birth",
            "maxLength": 140,
            "minLength": 0,
            "type": "string"
          },
          "countryOfBirth": {
            "description": "Client Country of Birth (use ISO 3166-1 alpha-3 format)",
            "maxLength": 3,
            "minLength": 3,
            "type": "string"
          },
          "countryOfResidence": {
            "description": "Country of Residence (use ISO 3166-1 alpha-3 format)",
            "maxLength": 19,
            "minLength": 0,
            "type": "string"
          },
          "isActive": {
            "description": "Indicate if the UBO is active or not",
            "type": "boolean"
          }
        },
        "example": {
          "firstName": "Dupont",
          "lastName": "Pierre",
          "nationality": "FR",
          "isActive": false
        }
      },
      "UpdateUltimateBeneficialOwnerOutput": {
        "type": "object",
        "properties": {
          "ultimateBeneficialOwnerId": {
            "format": "int64",
            "type": "integer"
          },
          "error": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    }
  },
  "x-readme": {}
}
```