Skip to content
Docs
Get early access

Change the current user's password

POST
/v1/auth/password
curl --request POST \
--url https://api.wirevod.online/v1/auth/password \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "current_password": "correct-horse-battery-staple", "new_password": "a-much-stronger-passphrase" }'
Media typeapplication/json
object
current_password
required
string
new_password
required
string
>= 8 characters <= 200 characters
Example
{
"current_password": "correct-horse-battery-staple",
"new_password": "a-much-stronger-passphrase"
}

Password changed; all sessions and access tokens revoked.

The request was malformed or failed validation.

Media typeapplication/json
object
error
required
string
code
required
string
message
required
string
details
Example
{
"error": "invalid_request",
"code": "invalid_request",
"message": "asset_id is required"
}

Missing or invalid credentials.

Media typeapplication/json
object
error
required
string
code
required
string
message
required
string
details
Example
{
"error": "unauthorized",
"code": "unauthorized",
"message": "Authentication required"
}