Locations
Delete location
Changed onThis endpoint deletes a location by ID. A location cannot be deleted while users are still assigned to it or while it is used as a filter on an active group.
delete/v2/locations/{id}
Request
- Base URLhttps://api.brex.com
- AuthOAuth 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
deleteLocation 200 response
Changes
- info
endpoint added
- info