Users
Update user
Changed onThis endpoint updates a user. Any parameters not provided will be left unchanged.
put/v2/users/{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/tokenScopesusers
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Headers
Idempotency-Keystring nullable
Request body
Response
updateUser 200 response
Example response
{
"custom_fields": [
{
"value": {
"data": {
"amount": 700,
"currency": "USD"
}
}
}
]
}Changes
- info
added the new
ARCHIVEDenum value to the request property//// - info
added the new
DELETEDenum value to the request property//// - info
added the new
INACTIVEenum value to the request property////
- info
- info
added the new optional request property
- info
added the new optional request property
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
removed the
CLOSEDenum value from the////response property for the response status - info
removed the
DELETEDenum value from the////response property for the response status
- info