Change Password
PUT
/v1/users/change-password
const url = 'https://example.com/api/v1/users/change-password';const options = { method: 'PUT', headers: {Authorization: '<Authorization>', 'Content-Type': 'application/json'}, body: '{"current":"example","new":"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/users/change-password \ --header 'Authorization: <Authorization>' \ --header 'Content-Type: application/json' \ --data '{ "current": "example", "new": "example" }'Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”Password Payload
Media type application/json
object
current
string
new
string
Example generated
{ "current": "example", "new": "example"}Responses
Section titled “ Responses ”No Content