Preferences

Edit a preference value

Changed on

Edit a preference value and apply to all users if allowed

patch/preferences/{preference_name}

Request

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

Path parameters

preference_namestring required

Query parameters

valuestring
all0 | 1

Apply to all users (Admin)

default0 | 1

Set as system default (Admin)

Request body

valuestring required
all0 | 1

Apply to all users (Admin)

default0 | 1

Set as system default (Admin)

Response

Updated

successstring

Changes

    • info

      api operation id preferenceEdit was added

    • info

      added optional request body

    • info

      the query request parameter value 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

      added the non-success response with the status

    • info

      added the non-success response with the status