---
title: "Validate that a device is available to use."
method: GET
path: "/v2/partition/{partitionId}/account/{accountId}/device/{macAddress}/validateproperties"
tags: ["Account Device"]
---

# Validate that a device is available to use.

`GET /v2/partition/{partitionId}/account/{accountId}/device/{macAddress}/validateproperties`

## Request

- Base URL: `https://api.alianza.com`
- URL: `https://api.alianza.com/v2/partition/{partitionId}/account/{accountId}/device/{macAddress}/validateproperties`
- Auth: API key in header `X-AUTH-TOKEN`
- TypeScript: <https://skmtc.dev/alianza/apis/alianza-public-api/docs/v2/partition/:partitionId/account/:accountId/device/:macAddress/validateproperties/get.ts> (a function with typed inputs; its response is checked against the schema)

Validates that the macAddress is not currently in use on the account.

Or if the mac address is in use it validates that:
 * The device exists within the account or is available for use by the account.
 * The line number supplied is supported by the device.
 * The device is allowed on the partition.

 A successful validation for devices that do not exist on the account is not a guarantee that they are allowed for use by the account.

## Path parameters

- `accountId` string, required
- `macAddress` string, required
- `partitionId` string, required

## Query parameters

- `lineno` integer, required

## Response `200`

Successful operation

- boolean: Did prevalidation pass or fail.

## Other responses

- `400`: Invalid request parameters
- `401`: Unauthorized
- `404`: The partitionId or accountId could not be found.

---

[API](https://skmtc.dev/alianza/apis/alianza-public-api.md) - [All operations](https://skmtc.dev/alianza/apis/alianza-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/alianza/apis/alianza-public-api/revisions/7223246c352c?raw)
