younifyd
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-request

Use it in a workflow

  1. Add a step and choose the Elastic Path connector.
  2. Pick the Post V2 Authentication Realms Realm Id Password Profiles Profile Id One Time Password Token Request action (under Single Sign-On).
  3. Fill in the fields below, then reference the result from later steps as {{postV2AuthenticationRealmsRealmIdPasswordProfilesProfileIdOneTimePasswordTokenRequest.response.data}}.

Request

Path parameters

realmIdstring (uuid)required

The ID of the authentication realm.

profileIdstring (uuid)required

The ID of the password profile.

Request body

Enter the body as JSON in the step's Body field.

dataobjectrequired
typeanyrequired
purposestringrequired

An information field indicating why the user submitted this request. Your [integration](/docs/api/integrations/integrations-introduction) can inspect this field and can change subsequent processing.

One ofreset_passwordpasswordless_authentication

usernamestringrequired

The username for the token request.

json
{
  "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>}}.

dataany
json
{
  "data": null
}

Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.

Post V2 Authentication Realms Realm Id Password Profiles Profile Id One Time Password Token Request — Elastic Path — Documentation