---
schema_version: "1"
id: 3f1402c3da63c4579e80cb407813640c04de7c880306c189373fc30fc1045f4b
title: ConnectApi.LocationListInputRepresentation
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_location_list.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_location_list.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: e1bdb89fdfcbe4e523136848075400f4c78e6438b0fa6b90eb2acb83ecb2a21a
description: A list of location identifiers used to specify locations excluded from routing consideration.
---
# ConnectApi.LocationListInputRepresentation

A list of location identifiers used to specify locations excluded from routing consideration.

| Property | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| locations | [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<String> | The list of location identifiers to exclude. Don't leave any identifier blank. The list can contain up to 100 items. | Required | 67.0 |