Logo
Brex Developer API Documentation

Update user

PUT {{baseUrl}}/v2/users/:id

This endpoint updates a user. Any parameters not provided will be left unchanged.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Idempotency-Key
string
Content-Type
string




RESPONSES

status OK

{ "email": "irure incididunt enim cupidatat nostrud", "first_name": "tempor velit", "id": "fugiat tempor Ut cillum ex", "last_name": "pariatur est deserunt voluptate reprehe", "status": { "value": "<Error: Could not resolve allOf schema" }, "manager_id": "ea proident in dolore", "department_id": "officia elit cillum enim", "location_id": "deserunt" }



Curl
curl -X PUT 'https://platform.staging.brexapps.com/v2/users/:id' -H 'Idempotency-Key: $guid' -H 'Content-Type: application/json'

ENDPOINTS