/
CAcardinalapps
DocsSign in
  • Docs
  • History
  • Schema
  • Generate
Authentication3
CORS Origins3
Dev11
  • get/api/v1/dev/settings/{app}/{key}Dev-only: read a settings value for the given app.
  • get/api/v1/dev/last-claim-attemptDev-only: read the in-memory record of the most recent claim attempt.
  • post/api/v1/dev/factory-resetDev-only: factory-reset the server without the validation phrase.
  • get/api/v1/dev/options/{name}Dev-only: read a server option by name.
  • post/api/v1/dev/first-time-setupDev-only: complete first-time-setup without driving the wizard.
  • post/api/v1/dev/users/localDev-only: create a local user with the given role.
  • delete/api/v1/dev/users/{userId}Dev-only: delete a user by userId.
  • post/api/v1/dev/users/grant-roleDev-only: grant a role to a user.
  • post/api/v1/dev/users/revoke-roleDev-only: revoke a role from a user.
  • post/api/v1/dev/librariesDev-only: insert a library row directly.
  • delete/api/v1/dev/libraries/{libraryId}Dev-only: delete a library by libraryId.
Events1
General9
Indexing12
Invitations4
Jobs6
Libraries5
Licensing2
Music15
Photo Albums7
Photos6
Playback Queues7
Popularity1
Ratings3
Remote Access9
Role Assignments3
Settings2
Thumbnails1
Users8
Users (Public)1
    Dev

    Changes to Dev-only: grant a role to a user.

    post/api/v1/dev/users/grant-role
    • Jun 27, 2026b9285eb44d84Revision changes
      • info

        endpoint added

    • Mar 10, 20261ec5a2e9d039Revision changes
      • breaking

        api path removed without deprecation