Your submission was sent successfully! Close

Thank you for contacting us. A member of our team will be in touch shortly. 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

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 "https://landscape.canonical.com/api/v2/password" -d '{"password": "pwd", "new_password": "more_secure_pwd"}' -H Authorization:"Bearer $JWT"

This page was last modified 5 months ago. Help improve this document in the forum.