users

Allows a logged in ADMIN user to modify another user.

patch/api/v1/users

Request

  • The document declares no server URL.
  • Auth: API key in cookie token

Request body

idstring required
emailstring email
dnistring
passwordstring
namestring
itineraryIdstring
status'ACTIVE' | 'INACTIVE'
role'ADMIN' | 'MENTOR' | 'REGISTERED'
specializationIdstring

Example request

{
  "email": "user@example.cat"
}

Response

User has been modified

Changes

    • info

      api operation id patchUsersById was added

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      removed the required property from the response with the status

    • info

      added to the response body anyOf list for the response status

    • info

      removed the non-success response with the status