Account

Update the user account. This can only affect Username, Email (will require confirming), Roles, and Library access.

Changed on

Users who's Kavita.Models.Entities.User.AppUser.IdentityProvider is not Kavita.Models.Entities.Enums.IdentityProvider.Kavita cannot be edited if Kavita.Models.DTOs.Settings.OidcConfigDto.SyncUserSettings is true

post/api/Account/update

Request

  • Base URL
    http://localhost:5000
  • URL
    http://localhost:5000/api/Account/update
  • Auth
    API key in header x-api-key

Request body

userIdinteger
usernamestring nullable
rolesstring[] nullable
librariesinteger[] nullable
emailstring nullable
identityProvider0 | 1

Members:

  • 0 — Kavita
  • 1 — OpenID Connect (OpenIdConnect)

Response

OK

Changes

    • info

      added the new optional request property (media type: application/json)

    • info

      added the new optional request property (media type: text/json)

    • info

      added the new optional request property (media type: application/*+json)