PUT
/
api
/
users
/
{id}
Update a user
curl --request PUT \
  --url https://{FUSION HOST}/api/users/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "password": {
    "empty": true
  },
  "passwordHash": "<string>",
  "roleNames": [
    "<string>"
  ],
  "timezone": "<string>",
  "permissions": [
    {
      "methods": [
        "GET"
      ],
      "path": "<string>",
      "params": {}
    }
  ],
  "roles": [
    "<string>"
  ]
}'
{
  "id": "<string>",
  "username": "<string>",
  "realmName": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "roleNames": [
    "<string>"
  ],
  "timezone": "<string>",
  "permissions": [
    {
      "methods": [
        "GET"
      ],
      "path": "<string>",
      "params": {}
    }
  ]
}

Body

application/json

Response

200 - */*

OK

The response is of type object.