Menu
Me Tfa Enable
Enable 2FA
POST
/users/me/tfa/enableUse it in a workflow
- Add a step and choose the Directus connector.
- Pick the Me Tfa Enable action (under Users).
- Fill in the fields below, then reference the result from later steps as
{{meTfaEnable.response.data}}.
Request
Request body
Enter the body as JSON in the step's Body field.
{
"secret": "string",
"otp": "string"
}
Response
Returns 204 with a any. Read it in later steps with {{meTfaEnable.response.data.<field>}}.
Need more? See the Directus guide for connection setup and behaviour shared by every action.
Was this page helpful?