---
title: "Pre-validate properties of objects which have not been saved"
method: GET
path: "/v2/partition/{partitionId}/account/validateproperties"
tags: ["Account"]
---

# Pre-validate properties of objects which have not been saved

`GET /v2/partition/{partitionId}/account/validateproperties`

## Request

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

This endpoint is used to validate that a proposed value is acceptable for a certain field.  For example, we use it to tell our enduser working in the ui, that the value they are currently entering into a field, does or does not pass uniqueness requirements. <p>The field to check is implicit in the queryparam you use.  See the possible queryparams and which fields they validate below.</p> <p>While this endpoint allows you to specify more than one queryparam, and a 200 response indicates that ALL of the proposed values are ok, a 400 response only indicates that there is a problem without fully disambiguating which proposals are invalid and which are not.  Therefore, it is suggested that you check one at a time.</p>

## Path parameters

- `partitionId` string, required

## Query parameters

- `accountnumber` string
- `macaddress` string
- `sipusername` string
- `username` string

## Response `200`

All of your proposed values are acceptable

- boolean

## Other responses

- `400`: One or more of your proposed values are NOT acceptable. ONE of the problems will be further described in the messages array.
- `401`: Unauthorized
- `404`: Not 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)
