Library

Grants a user account access to a Library

Changed on
post/api/Library/grant-access

Request

  • Base URL
    http://localhost:5000
  • URL
    http://localhost:5000/api/Library/grant-access
  • Auth
    API key in header x-api-key

Request body

usernamestring nullable required

Response

OK

idinteger
usernamestring nullable
emailstring nullable
isPendingboolean
createdstring date-time
createdUtcstring date-time
lastActivestring date-time
lastActiveUtcstring date-time
rolesstring[] nullable
identityProvider0 | 1

Members:

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

Changes

    • warning

      removed the request property // (media type: application/json)

    • warning

      removed the request property // (media type: text/json)

    • warning

      removed the request property // (media type: application/*+json)

    • warning

      removed the optional property // from the response with the status (media type: text/plain)

    • warning

      removed the optional property // from the response with the status (media type: application/json)

    • warning

      removed the optional property // from the response with the status (media type: text/json)

    • 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)

    • info

      added the optional property // to the response with the status (media type: text/plain)

    • info

      added the optional property // to the response with the status (media type: application/json)

    • info

      added the optional property // to the response with the status (media type: text/json)

    • 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)

    • info

      added the optional property // to the response with the status (media type: text/plain)

    • info

      added the optional property // to the response with the status (media type: application/json)

    • info

      added the optional property // to the response with the status (media type: text/json)