Change my password
curl --request POST \
--url https://api.salessequencer.com/api/v1/profile/password \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"confirm_password": "<string>",
"current_password": "<string>",
"new_password": "<string>"
}
'import requests
url = "https://api.salessequencer.com/api/v1/profile/password"
payload = {
"confirm_password": "<string>",
"current_password": "<string>",
"new_password": "<string>"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
confirm_password: '<string>',
current_password: '<string>',
new_password: '<string>'
})
};
fetch('https://api.salessequencer.com/api/v1/profile/password', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Profile
Change my password
Changes the logged-in user’s password. Refuses (flash): new password under 6 characters, new and confirm differ, current password wrong or none set.
Minimum role: view (x-min-role). Destructive: false (x-destructive).
POST
/
profile
/
password
Change my password
curl --request POST \
--url https://api.salessequencer.com/api/v1/profile/password \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"confirm_password": "<string>",
"current_password": "<string>",
"new_password": "<string>"
}
'import requests
url = "https://api.salessequencer.com/api/v1/profile/password"
payload = {
"confirm_password": "<string>",
"current_password": "<string>",
"new_password": "<string>"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
confirm_password: '<string>',
current_password: '<string>',
new_password: '<string>'
})
};
fetch('https://api.salessequencer.com/api/v1/profile/password', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));