---
title: "Validate Multiple Switches"
method: POST
path: "/restapi/v1.0/account/{accountId}/emergency-address-auto-update/switches-bulk-validate"
tags: ["Automatic Location Updates"]
---

# Validate Multiple Switches

`POST /restapi/v1.0/account/{accountId}/emergency-address-auto-update/switches-bulk-validate`

Validates switches before creation or update. The maximum number
of switches per request is 10 000.

## Path parameters

- `accountId` string, required

## Request body

- ValidateMultipleSwitchesRequest
  - `records` SwitchInfo[]
    - `uri` string, uri — Link to the network switch resource
    - `id` string — Internal identifier of a network switch
    - `chassisId` string — Unique identifier of a network switch
    - `port` string — Switch entity extension for better diversity. Should be used together with chassisId.
    - `name` string — Name of a network switch
    - `site` SwitchSiteInfo
      - `id` string — Internal identifier of a site. The company identifier value is 'main-site'
      - `name` string — Name of a site
    - `emergencyAddress` union
      - object
        - `country` string — Country name
        - `countryId` string — Internal identifier of a country
        - `countryIsoCode` string — ISO code of a country
        - `countryName` string — Full name of a country
        - `state` string — State/Province name. Mandatory for the USA, the UK and Canada
        - `stateId` string — Internal identifier of a state
        - `stateIsoCode` string — ISO code of a state
        - `stateName` string — Full name of a state
        - `city` string — City name
        - `street` string — First line address
        - `street2` string — Second line address (apartment, suite, unit, building, floor, etc.)
        - `zip` string — Postal (Zip) code
        - `customerName` string — Customer name
        - `syncStatus` 'Verified' | 'Updated' | 'Deleted' | 'NotRequired' | 'Unsupported' | 'Failed' — Resulting status of emergency address synchronization. Returned for 'Get Device Info' request if `syncEmergencyAddress` parameter is set to `true`
      - object
        - `country` string — Country name
        - `countryId` string — Internal identifier of a country
        - `countryIsoCode` string — ISO code of a country
        - `countryName` string — Full name of a country
        - `state` string — State/Province name. Mandatory for the USA, the UK and Canada
        - `stateId` string — Internal identifier of a state
        - `stateIsoCode` string — ISO code of a state
        - `stateName` string — Full name of a state
        - `city` string — City name
        - `street` string — The name of the street (the field is utilized as 'streetName' field for AU addresses)
        - `companyName` string — Company name
        - `buildingName` string — (Optional) Building name
        - `streetType` string — Street type
        - `buildingNumber` string — Building/street number
        - `street2` string — Second line address (apartment, suite, unit, building, floor, etc.)
        - `zip` string — Postal (Zip) code
        - `customerName` string — Customer name
        - `syncStatus` 'Verified' | 'Updated' | 'Deleted' | 'NotRequired' | 'Unsupported' | 'Failed' — Resulting status of emergency address synchronization. Returned for 'Get Device Info' request if `syncEmergencyAddress` parameter is set to `true`
      - object
        - `country` string — Country name
        - `countryId` string — Internal identifier of a country
        - `countryIsoCode` string — ISO code of a country
        - `countryName` string — Full name of a country
        - `state` string — State/Province name. Mandatory for the USA, the UK and Canada
        - `stateId` string — Internal identifier of a state
        - `stateIsoCode` string — ISO code of a state
        - `stateName` string — Full name of a state
        - `city` string — City name
        - `street` string — The name of the street (The field is utilized as 'streetName' field for FR addresses)
        - `companyName` string — Company name
        - `buildingName` string — (Optional) Building name
        - `buildingNumber` string — Building/street number
        - `street2` string — Second line address (apartment, suite, unit, building, floor, etc.)
        - `zip` string — Postal (Zip) code
        - `customerName` string — Customer name
        - `syncStatus` 'Verified' | 'Updated' | 'Deleted' | 'NotRequired' | 'Unsupported' | 'Failed' — Resulting status of emergency address synchronization. Returned for 'Get Device Info' request if `syncEmergencyAddress` parameter is set to `true`
    - `emergencyLocation` EmergencyLocationInfo — Emergency response location information
      - `id` string, required — Internal identifier of an emergency response location
      - `name` string — Emergency response location name
      - `addressFormatId` string — Address format ID

## Response `200`

Success

- ValidateMultipleSwitchesResponse
  - `records` SwitchValidated[]
    - `id` string — Internal identifier of a switch
    - `chassisId` string — Unique identifier of a network switch
    - `port` string — Switch entity extension for better diversity. Should be used together with chassisId.
    - `status` 'Valid' | 'Invalid' — Validation result status
    - `errors` ValidationError[]
      - `errorCode` string — Error code
      - `message` string — Error message
      - `parameterName` string — Name of invalid parameter

---

[API](https://skmtc.net/ringcentral/apis/ringcentral-api.md) · [All operations](https://skmtc.net/ringcentral/apis/ringcentral-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ringcentral/ringcentral-api/revisions/8d602198ec97/schema)
