Locations
Get location
Changed onThis endpoint gets a location by ID.
get/v2/locations/{id}
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.
Path parameters
idstring required
Response
getLocationById 200 response
Changes
- info
the security scope
locationswas removed from the endpoint's security schemeOAuth2
- info