Users

Create a new user (Admin)

Changed on

Create a new user. (Requires the username, password and email.)

put/users

Request

  • Base URL
    https://develop.ampache.dev/rest/8/json
  • URL
    https://develop.ampache.dev/rest/8/json/users
  • Auth
    • HTTP bearer
    • or API key in header auth
    • or API key in query parameter auth

Query parameters

usernamestring
passwordstring

sha256(password) Deprecated: for privacy, send this in a form or JSON request body instead of the query string (query values land in server/proxy logs and browser history). Query-string support is retained for backward compatibility.

emailstring
fullnamestring
disable0 | 1
groupinteger

Request body

usernamestring required
passwordstring required

sha256(password) Deprecated: for privacy, send this in a form or JSON request body instead of the query string (query values land in server/proxy logs and browser history). Query-string support is retained for backward compatibility.

emailstring required
fullnamestring
disable0 | 1
groupinteger

Response

Created

successstring

Changes

    • info

      api operation id userCreate was added

    • info

      added optional request body

    • info

      the query request parameter email became optional

    • info

      the query request parameter password became optional

    • info

      the query request parameter username became optional

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      query request parameter password was deprecated