Locations
List locations
Changed onThis endpoint lists all locations.
get/v2/locations
Request
- Base URLhttps://api.brex.com
- Auth
- OAuth 2Authorization codehttps://accounts-api.brex.com/oauth2/default/v1/authorizeToken URLhttps://accounts-api.brex.com/oauth2/default/v1/tokenScopeslocations.readonly
- or OAuth 2Authorization codehttps://accounts-api.brex.com/oauth2/default/v1/authorizeToken URLhttps://accounts-api.brex.com/oauth2/default/v1/tokenScopeslocations
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
cursorstring nullable
limitinteger nullable
namestring nullable
Response
listLocations 200 response
Changes
- info
the security scope
locationswas removed from the endpoint's security schemeOAuth2
- info