Reset password
Reset password for specified user
Authorizations
Headers
The x-site-context
header is a JSON object that contains information about the source you wish to pull from. The mandatory account
is the 24 character identifier found in Copilot. The channel
(Sales channel ID), stage
(environment name), and date
attributes can be used to further narrow the scope of your data source.
"{\"date\": \"2023-01-01T00:00:00.000Z\", \"channel\": 12, \"account\": \"1234abcd5678efgh9ijklmno\",\"stage\":\"production\"}"
Body
User name
"user101"
Response
Reset-password token
"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYxZjIyMTU4..."
Token type
RESET_PASSWORD
"RESET_PASSWORD"
Time password token expires
"2020-04-15T10:08:04.246Z"
true: Password token has been redeemed<br />false: Password token has not been redeemed
true
User ID
"6169b2d892a5f30009d76480"
User's full name
User's email address
"test@mail.com"
Was this page helpful?