# Set as Parent Branch

## Set as Parent Branch

<mark style="color:orange;">`PUT`</mark> `https://{{account_id}}.acquire.io/api/v1/bot/seq/parent-branch/{{branchId}}`

Set the parent branch. The child branch (`branchId`) must be passed through the endpoint as a path parameter.&#x20;

#### Path Parameters

| Name                                       | Type    | Description                        |
| ------------------------------------------ | ------- | ---------------------------------- |
| branchId<mark style="color:red;">\*</mark> | integer | Specify branch id for child branch |

#### Headers

| Name                                            | Type   | Description         |
| ----------------------------------------------- | ------ | ------------------- |
| Authorization<mark style="color:red;">\*</mark> | string | Bearer {{api\_key}} |

#### Request Body

| Name                                     | Type    | Description                         |
| ---------------------------------------- | ------- | ----------------------------------- |
| leadId<mark style="color:red;">\*</mark> | integer | Specify branch id for parent branch |

{% tabs %}
{% tab title="200 " %}

```
{
  "data": {
    "success": true,
    "message": "Branch marked as parent successfully."
  }
}

```

{% endtab %}
{% endtabs %}

## Body(raw)

```
{
  "leadId": 138
}

```
