Update User Display Name: /user/name (PATCH)

Purpose:

Update the display name of the specified user, the mutable identifier of the user. To change the display of another user, you should have the manage users (or administrator) permission.

Input:

  • Headers:
    • Content-Type: application/json
    • Client-Secret: (Optional) A header to authenticate the request.
    • Authorization: The JWT token of the user.
  • JSON Body:
    • id: (Uuid) The id of the user.
    • display_name: (String) The new display name.

Output (200):

{
  "id": "f52d1cab-6c81-4ef0-ae8a-4d1ef1715a48",
  "username": "admin",
  "display_name": "Administrator",
  "profile_image": null
}