---
title: "UpdatePartyResponseDetails"
url: "https://developer.pexa.co.uk/apis/workspace-v1-v1/versions/f42817f3-815f-4a74-8ba5-2f83efd8ab42/schemas/UpdatePartyResponseDetails"
---

> Full API specification: https://developer.pexa.co.uk/apis/workspace-v1-v1/versions/f42817f3-815f-4a74-8ba5-2f83efd8ab42.md

# UpdatePartyResponseDetails

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: Workspace
  version: v1
servers:
  - url: https://api.pexa.co.uk
    description: API Gateway URL
components:
  schemas:
    UpdatePartyResponseDetails:
      oneOf:
        - type: object
          required:
            - forenames
            - surname
          properties:
            forenames:
              maxLength: 90
              minLength: 1
              type: string
              example: James Thomas
              pattern: ^[A-Za-z][A-Za-z\- ']*$
            surname:
              maxLength: 50
              minLength: 1
              type: string
              example: Smith
              pattern: ^[A-Za-z][A-Za-z\- ']*$
            email:
              type: string
              minLength: 1
              pattern: ^$|(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[A-z0-9](?:[A-z0-9-]*[A-z0-9])?\.)+[A-z0-9](?:[A-z0-9-]*[A-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[A-z0-9-]*[A-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5A\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])
              example: approver@lawfirm.com
        - type: object
          required:
            - organisationName
            - registrationNumber
            - organisationType
          properties:
            organisationName:
              maxLength: 160
              minLength: 1
              type: string
              example: My Organisation
              pattern: ^[a-zA-ZÀ-ÖØ-öø-ſĀ-ıĴ-ľŁ-ŉŊ-ŏŐ-őŒ-žǼǺǾẀẂẄỲǽǻǿẁẃẅỳ\d&@£$€¥#‘’'(){}<>!«»“”"\[\]?*=%+\s.,:\/;\\-]+$
            registrationNumber:
              type: string
              minLength: 6
              maxLength: 8
              pattern: ^[A-Z0-9]+$
              example: ABCD1234
            organisationType:
              maxLength: 200
              minLength: 1
              type: string
              pattern: ^(LIMITED_COMPANY)$
              example: LIMITED_COMPANY
              description: |
                Organisation Type:
                 * `LIMITED_COMPANY`
            officers:
              type: array
              description: >
                Organisation officers (e.g. directors/secretary) captured for
                QES signing. Used to identify who should receive and complete
                the signing invitation.
              items:
                type: object
                required:
                  - forenames
                  - surname
                  - email
                  - role
                properties:
                  forenames:
                    maxLength: 90
                    minLength: 1
                    type: string
                    example: James Thomas
                    pattern: ^[A-Za-z][A-Za-z\- ']*$
                  surname:
                    maxLength: 50
                    minLength: 1
                    type: string
                    example: Smith
                    pattern: ^[A-Za-z][A-Za-z\- ']*$
                  email:
                    type: string
                    minLength: 1
                    pattern: ^$|(?:[A-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[A-z0-9](?:[A-z0-9-]*[A-z0-9])?\.)+[A-z0-9](?:[A-z0-9-]*[A-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[A-z0-9-]*[A-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5A\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])
                    example: approver@lawfirm.com
                  role:
                    type: string
                    pattern: ^(DIRECTOR|SECRETARY)$
                    example: DIRECTOR
                    description: |
                      Allowed values: [`DIRECTOR`, `SECRETARY`]
```
