# Replace

If a beacon is already paired with the vehicle, it can be replaced. In this case, you can use the API described below.

{% hint style="info" %}
If you have your **admin API key**, you can try the API via this [**link**](https://drivequant.stoplight.io/docs/drivequant-public/reference/Vehicles.yaml/paths/~1drivekit~1admin~1vehicles~1%7BvehicleId%7D~1beacon~1change/put).
{% endhint %}

## Replace a beacon

<mark style="color:orange;">`PUT`</mark> `https://service.drivequant.com/v3/drivekit/admin/vehicles/{vehicleId}/beacon/change`

Change the beacon paired to the vehicle.

#### Path Parameters

| Name      | Type   | Description               |
| --------- | ------ | ------------------------- |
| vehicleId | string | Vehicle unique identifier |

#### Headers

| Name                   | Type   | Description   |
| ---------------------- | ------ | ------------- |
| DriveKit-Admin-API-Key | string | Admin API Key |

#### Request Body

| Name          | Type    | Description             |
| ------------- | ------- | ----------------------- |
| major         | integer | Major                   |
| minor         | integer | Minor                   |
| proximityUuid | string  | proximity UUID          |
| uniqueId      | string  | Beacon unique identifer |

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

```
success
```

{% endtab %}
{% endtabs %}
