Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

API Endpoints: Password

Note: These endpoints are only available to beta users at this time.

PUT /password

Apply a new password.

Path parameters:

  • None

Required parameters:

  • password: The current password.
  • new_password: The new password with a minimum length of 3 and maximum length of 30.

Optional parameters:

  • None

Example request

curl -X PUT "http://landscape.canonical.com/api/v2/password" -d '{"password": "pwd", "new_password": "more_secure_pwd"}' -H Authorization:"Bearer $JWT"

This page was last modified 17 days ago. Help improve this document in the forum.