Users

Update Password for self

Update password for self

post/v2/users/self/password

Request body

oldPasswordstring required

The user's current password

newPasswordstring required

The new password

Example request

{
  "oldPassword": "My_current_password",
  "newPassword": "My_new_password"
}

Response

the password was submitted and accepted

Changes

Changed in 5 of the 50 revisions of this API.14319

    • the newPassword request property's maxLength was decreased to 64

      request-property-max-length-decreased

    • the oldPassword request property's maxLength was decreased to 64

      request-property-max-length-decreased

    • the newPassword request property's minLength was increased from 8 to 10

      request-property-min-length-increased

    • the oldPassword request property's minLength was increased from 8 to 10

      request-property-min-length-increased

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • dd71433847a6318See the full diff
    • the errors/items/ response's property type/format changed from / to object/ for status 400

      response-property-type-changed

    • the errors/items/ response's property type/format changed from / to object/ for status 401

      response-property-type-changed

    • the errors/items/ response's property type/format changed from / to object/ for status 403

      response-property-type-changed

    • added the optional property errors/items/errorCode to the response with the 400 status

      response-optional-property-added

    • added the optional property errors/items/errorCode to the response with the 401 status

      response-optional-property-added

    • added the optional property errors/items/errorCode to the response with the 403 status

      response-optional-property-added

    • added the optional property errors/items/errorData to the response with the 400 status

      response-optional-property-added

    • added the optional property errors/items/errorData to the response with the 401 status

      response-optional-property-added

    • added the optional property errors/items/errorData to the response with the 403 status

      response-optional-property-added

    • added the optional property errors/items/localisationDetails to the response with the 400 status

      response-optional-property-added

    • added the optional property errors/items/localisationDetails to the response with the 401 status

      response-optional-property-added

    • added the optional property errors/items/localisationDetails to the response with the 403 status

      response-optional-property-added

    • added the optional property httpStatusCode to the response with the 400 status

      response-optional-property-added

    • added the optional property httpStatusCode to the response with the 401 status

      response-optional-property-added

    • added the optional property httpStatusCode to the response with the 403 status

      response-optional-property-added

    • response property errors/items/locationType deprecated

      response-property-deprecated

    • response property errors/items/locationType deprecated

      response-property-deprecated

    • response property errors/items/locationType deprecated

      response-property-deprecated

    • response property errors/items/reasonCode deprecated

      response-property-deprecated

    • response property errors/items/reasonCode deprecated

      response-property-deprecated

    • response property errors/items/reasonCode deprecated

      response-property-deprecated

    This revision also has 9 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 1b2abf26b5d663See the full diff
    • the response's body type/format changed from object/ to / for status 400

      response-body-type-changed

    • the response's body type/format changed from object/ to / for status 401

      response-body-type-changed

    • the response's body type/format changed from object/ to / for status 403

      response-body-type-changed

    • the errors/items/ response's property type/format changed from object/ to / for status 400

      response-property-type-changed

    • the errors/items/ response's property type/format changed from object/ to / for status 401

      response-property-type-changed

    • the errors/items/ response's property type/format changed from object/ to / for status 403

      response-property-type-changed

    • added the new requestParam enum value to the errors/items/locationType response property for the response status 400

      response-property-enum-value-added

    • added the new requestParam enum value to the errors/items/locationType response property for the response status 401

      response-property-enum-value-added

    • added the new requestParam enum value to the errors/items/locationType response property for the response status 403

      response-property-enum-value-added

    This revision also has 13 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 257 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog