aboutsummaryrefslogtreecommitdiff
path: root/subsonic-site/src/main/webapp/api-changePassword.jsp
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2012-07-02 21:24:02 -0700
committerScott Jackson <daneren2005@gmail.com>2012-07-02 21:24:02 -0700
commita1a18f77a50804e0127dfa4b0f5240c49c541184 (patch)
tree19a38880afe505beddb5590379a8134d7730a277 /subsonic-site/src/main/webapp/api-changePassword.jsp
parentb61d787706979e7e20f4c3c4f93c1f129d92273f (diff)
downloaddsub-a1a18f77a50804e0127dfa4b0f5240c49c541184.tar.gz
dsub-a1a18f77a50804e0127dfa4b0f5240c49c541184.tar.bz2
dsub-a1a18f77a50804e0127dfa4b0f5240c49c541184.zip
Initial Commit
Diffstat (limited to 'subsonic-site/src/main/webapp/api-changePassword.jsp')
-rw-r--r--subsonic-site/src/main/webapp/api-changePassword.jsp35
1 files changed, 35 insertions, 0 deletions
diff --git a/subsonic-site/src/main/webapp/api-changePassword.jsp b/subsonic-site/src/main/webapp/api-changePassword.jsp
new file mode 100644
index 00000000..a7fcb039
--- /dev/null
+++ b/subsonic-site/src/main/webapp/api-changePassword.jsp
@@ -0,0 +1,35 @@
+<h2 class="div"><a name="changePassword"></a>changePassword</h2>
+
+<p>
+ <code>http://your-server/rest/changePassword.view</code>
+ <br>Since <a href="#versions">1.1.0</a>
+</p>
+
+<p>
+ Changes the password of an existing Subsonic user, using the following parameters.
+ You can only change your own password unless you have admin privileges.
+</p>
+<table width="100%" class="bottomspace">
+ <tr>
+ <th class="param-heading">Parameter</th>
+ <th class="param-heading">Required</th>
+ <th class="param-heading">Default</th>
+ <th class="param-heading">Comment</th>
+ </tr>
+ <tr class="table-altrow">
+ <td><code>username</code></td>
+ <td>Yes</td>
+ <td></td>
+ <td>The name of the user which should change its password.</td>
+ </tr>
+ <tr>
+ <td><code>password</code></td>
+ <td>Yes</td>
+ <td></td>
+ <td>The new password of the new user, either in clear text of hex-encoded (see above).</td>
+ </tr>
+</table>
+
+<p>
+ Returns an empty <code>&lt;subsonic-response&gt;</code> element on success.
+</p>