younifyd
Menu

Password Reset

Reset a Password

POST/auth/password/reset

Use it in a workflow

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

Request

Request body

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

tokenstringrequired

One-time use JWT token that is used to verify the user, as provided in the email sent by the request endpoint.

passwordstring (password)required

New password for the user.

json
{
  "token": "eyJ0eXAiOiJKV1Qi...",
  "password": "password"
}

Response

Returns 204 with an object. Read it in later steps with {{passwordReset.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?