PATCH
/
v1
/
users
/
{id}
Update a User
curl --request PATCH \
  --url http://127.0.0.1:4001/v1/users/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "john@example.com",
  "firstName": "John",
  "groups": [
    "admin-group",
    "midaz-viewer-group",
    "midaz-contributor-group"
  ],
  "lastName": "Doe"
}'
This response does not have an example.

Path Parameters

id
string
required

The unique identifier of the user you want to retrieve.

Body

application/json

Information used to update a user's information.

email
string
required

User's email address.

firstName
string
required

User's first name.

lastName
string
required

User's last name.

groups
string[]

Array of user role groups IDs. Role groups IDs can be retrieved through the List Groups endpoint.

Response

If the request is successful, you will receive an empty response.