> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rolla.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Related Person

> Updates a related person on a business account's application. Provided fields are merged into the existing record.

Updates a related person on a business account's application. Provided fields are merged into the existing record.

<Info>
  `taxId` can be patched onto an existing person — useful for representatives added before
  the field existed, whose USD issuance is blocked until one is supplied. See
  [Add Related Person](/api-reference/endpoint/accounts/add-related-person#government-identifier)
  for the per-country formats.
</Info>

## Example Request

```bash theme={null}
curl -X PUT "https://api.rolla.xyz/api/v1/external/accounts/eec3cbed-79d8-4370-87a0-b6be9e287337/related-persons/a3d4f21e-f499-488f-8508-43228dfea485" \
  -H "X-API-Key: your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "ownershipPercentage": 75
  }'
```

## Example Response

```json theme={null}
{
  "success": true,
  "message": "Related person updated successfully",
  "data": {
    "id": "a3d4f21e-f499-488f-8508-43228dfea485",
    "firstName": "Jane",
    "lastName": "Doe",
    "ownershipPercentage": 75
  }
}
```


## OpenAPI

````yaml PUT /accounts/{accountId}/related-persons/{personId}
openapi: 3.1.0
info:
  title: Rolla Developer API
  description: >-
    API for programmatic transaction management on the Rolla platform. Monetary
    `amount` fields use the smallest unit of the referenced currency unless an
    endpoint says otherwise (e.g. NGN = kobo, USD = cents, where **100 cents =
    USD 1.00**).
  version: 1.0.0
servers:
  - url: https://api.rolla.xyz/api/v1/external
    description: Production server
security:
  - apiKeyAuth: []
paths:
  /accounts/{accountId}/related-persons/{personId}:
    put:
      summary: Update Related Person
      description: >-
        Updates a related person on a business account's application. Provided
        fields are merged into the existing record.
      operationId: updateAccountRelatedPerson
      parameters:
        - name: accountId
          in: path
          required: true
          description: >-
            Identifier of an account owned by the same user as your API key's
            business
          schema:
            type: string
            format: uuid
        - name: personId
          in: path
          required: true
          description: Related person identifier
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RelatedPerson'
      responses:
        '200':
          description: Related person updated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Related person updated successfully
                  data:
                    $ref: '#/components/schemas/RelatedPerson'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Account or related person not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    RelatedPerson:
      type: object
      properties:
        id:
          type: string
        firstName:
          type: string
          example: John
        lastName:
          type: string
          example: Doe
        roles:
          type: array
          items:
            type: string
            enum:
              - Beneficial Owner
              - Director
        email:
          type: string
          format: email
        phone:
          type: string
        dateOfBirth:
          type: string
          example: '1990-01-15'
        ownershipPercentage:
          type: number
          minimum: 0
          maximum: 100
        currentAddress:
          $ref: '#/components/schemas/BusinessAddress'
        sourceOfWealthExplanation:
          type: string
        taxId:
          type: string
          description: >-
            The person's government identifier, in the format their country of
            residence issues — Mainland China: 18-character resident ID; Hong
            Kong: HKID; United States: SSN or ITIN; elsewhere: national ID or
            tax number as issued. Nigerian residents send `nin` instead.
            Required before the application can be submitted, and can be patched
            onto an existing person. The format is validated by the USD provider
            when the account is issued.
          example: '440301199209153216'
        bvn:
          type: string
          description: Bank Verification Number (11 digits). Nigerian residents only.
        nin:
          type: string
          description: >-
            National Identification Number (11 digits). Nigerian residents only;
            accepted in place of `taxId`.
    Error:
      type: object
      properties:
        success:
          type: boolean
          example: false
        message:
          type: string
    BusinessAddress:
      type: object
      properties:
        street:
          type: string
          example: 123 Main Street
        city:
          type: string
          example: Lagos
        state:
          type: string
          example: Lagos
        postalCode:
          type: string
          example: '100001'
        country:
          type: string
          example: NG
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Your Rolla API key

````