# ReplacePartyRequestCreate

A request to replace a party on an account

## Example Usage

```typescript
import { RelationType, ReplacePartyRequestCreate } from "@apexfintechsolutions/ascend-sdk/models/components";

let value: ReplacePartyRequestCreate = {
  name:
    "accounts/01HC3MAQ4DR9QN1V8MJ4CN1HMK/parties/8096110d-fb55-4f9d-b883-b84f0b70d3ea",
  party: {
    emailAddress: "example@domain.com",
    mailingAddress: {},
    phoneNumber: {},
    relationType: RelationType.PrimaryOwner,
  },
};
```

## Fields

| Field                                                                                                                                                                                                                                                            | Type                                                                                                                                                                                                                                                             | Required                                                                                                                                                                                                                                                         | Description                                                                                                                                                                                                                                                      | Example                                                                                                                                                                                                                                                          |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `authorizedByPartyIds`                                                                                                                                                                                                                                           | *string*[]                                                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                                               | A list of Party IDs on the account that have approved the replacing of a party. The required signers are defined by the Registration Type of the Account. e.g. Individual Registrations require one signer, Joint Registrations require all Joint Owners to sign | [<br/>"8096110d-fb55-4f9d-b883-b84f0b70d3ea",<br/>"8096110d-fb55-4f9d-b883-b84f0b70d3rb"<br/>]                                                                                                                                                                   |
| `name`                                                                                                                                                                                                                                                           | *string*                                                                                                                                                                                                                                                         | :heavy_check_mark:                                                                                                                                                                                                                                               | The ID of the party to replace Format: accounts/{account}/parties/{party}                                                                                                                                                                                        | accounts/01HC3MAQ4DR9QN1V8MJ4CN1HMK/parties/8096110d-fb55-4f9d-b883-b84f0b70d3ea                                                                                                                                                                                 |
| `party`                                                                                                                                                                                                                                                          | [components.PartyRequestCreate](../../models/components/partyrequestcreate.md)                                                                                                                                                                                   | :heavy_check_mark:                                                                                                                                                                                                                                               | A single record representing an owner or manager of an Account. Contains fully populated Party Identity object.                                                                                                                                                  |                                                                                                                                                                                                                                                                  |