Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleBehaviour

If no request body is sent, the following behaviour is used:

  • User does not exist: user is created
  • User already exists: nothing is changed
  • In either case, no response body is returned

If a request body is sent, the following behaviour is used:

  • User does not exist: user is created with the properties set as requested via the request body (otherwise they are not set)
  • User already exists: the properties of the user are updated with updated (or unset) with the properties set as requested via the request body (otherwise they are unchanged)
  • In either case, the user is returned as the response body

...