/api/v1/account/password
PUT
/api/v1/account/password
const url = 'https://example.com/api/v1/account/password';const options = { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: '{"currentPassword":"example","newPassword":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/api/v1/account/password \ --header 'Content-Type: application/json' \ --data '{ "currentPassword": "example", "newPassword": "example" }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
currentPassword
required
null | string
newPassword
required
string
Example generated
{ "currentPassword": "example", "newPassword": "example"}Responses
Section titled “Responses”OK