younifyd
Menu

Password Request

Request a Password Reset

POST/auth/password/request

Use it in a workflow

  1. Add a step and choose the Directus connector.
  2. Pick the Password Request action (under Authentication).
  3. Fill in the fields below, then reference the result from later steps as {{passwordRequest.response.data}}.

Request

Request body

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

emailstringrequired

Email address of the user you're requesting a reset for.

reset_urlstring

Provide a custom reset url which the link in the email will lead to. The reset token will be passed as a parameter. You need to configure the `PASSWORD_RESET_URL_ALLOW_LIST` environment variable to enable this feature.

json
{
  "email": "admin@example.com",
  "reset_url": "string"
}

Response

Returns 204 with an object. Read it in later steps with {{passwordRequest.response.data.<field>}}.

dataany
json
{
  "data": null
}

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

Was this page helpful?
Password Request — Directus — Documentation