User

Updates a specific user's roles

Changed on
put/users/{id}

Request

  • Base URL
    http://localhost:3001/api
  • URL
    http://localhost:3001/api/users/{id}
  • Auth
    none declared

Request body

rolesRole[]

Response

OK

namestring nullable

Full name of the user if provided by the OAuth provider

emailstring email required
googleIDstring

Unique identifier for the google account of the user

Example response

{
  "name": "John Doe",
  "email": "foo@bar.com"
}

Changes

    • breaking

      the response property became nullable for the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status