Menu
Post V2 Authentication Realms Realm Id Password Profiles Profile Id One Time Password Token Request
Create One-Time Password Token Request
POST
/v2/authentication-realms/{realmId}/password-profiles/{profileId}/one-time-password-token-requestUse it in a workflow
- Add a step and choose the Elastic Path connector.
- Pick the Post V2 Authentication Realms Realm Id Password Profiles Profile Id One Time Password Token Request action (under Single Sign-On).
- Fill in the fields below, then reference the result from later steps as
{{postV2AuthenticationRealmsRealmIdPasswordProfilesProfileIdOneTimePasswordTokenRequest.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"data": {
"type": null,
"purpose": "password_reset",
"username": "user@example.com"
}
}
Response
Returns 201 with an object. Read it in later steps with {{postV2AuthenticationRealmsRealmIdPasswordProfilesProfileIdOneTimePasswordTokenRequest.response.data.<field>}}.
{
"data": null
}
Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.
Was this page helpful?