Menu
Get Password Reset Token
Request a reset password token.
POST
/organizations/{organizationId}/oauth2/password/resetUse it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Get Password Reset Token action (under Auth (SLAS)).
- Fill in the fields below, then reference the result from later steps as
{{getPasswordResetToken.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"user_id": "samantha.sampleson@example.com",
"mode": "email",
"channel_id": "RefArch",
"locale": "en-us",
"client_id": "6b200ebd-7843-4073-aef9-792482c9e1de",
"code_challenge": "Nx_Vf0-0W6SpyRVBVTbl8VSu2OE4yD2fZNExW6N3V_Q",
"callback_uri": "http://localhost:9050/password/reset/callback",
"idp_name": "okta",
"hint": "cross_device"
}
Response
Returns 200 with a any. Read it in later steps with {{getPasswordResetToken.response.data.<field>}}.
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?