Departments
Update department
Changed onThis endpoint updates a department by ID. Only the fields present in the request body are changed.
put/v2/departments/{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/tokenScopesdepartments
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Headers
Idempotency-Keystring nullable
Request body
Response
updateDepartment 200 response
Changes
- info
endpoint added
- info