Management API
TypeScript
import { ManagementClient } from "auth0"; async function main() { const client = new ManagementClient({ token: "<token>", }); await client.guardian.factors.phone.setProvider({ provider: "auth0", }); } main();
{ "provider": "auth0" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
auth0
twilio
phone-message-hook
Returns selected Phone provider configuration