User Password

Update the current user's password and return authentication tokens if successful.

Request

puthttps://api.cloudsmith.io/v2/user/password
Body params optional

Response body

object

object

confirm_new_password
string
required
length ≥ 1
current_password
string
required
length ≥ 1
new_password
string
required
length ≥ 1

Response

Responses

User's password updated successfully.

object

object

access_token
string
optional
length ≥ 1
refresh_token
string
optional
length ≥ 1

Request could not be processed (see detail).

object

object

detail
string
required
length ≥ 1

Missing or invalid parameters (see detail).

object

object

detail
string
required
length ≥ 1