メインコンテンツへスキップ
PUT
/
guardian
/
factors
/
phone
/
message-types
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.guardian.factors.phone.setMessageTypes({
        messageTypes: [
            "sms",
        ],
    });
}
main();
{
  "message_types": [
    "sms"
  ]
}

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

ボディ

message_types
enum<string>[]
必須

The list of phone factors to enable on the tenant. Can include sms and voice.

利用可能なオプション:
sms,
voice

レスポンス

Returns selected SMS provider configuration

message_types
enum<string>[]

The list of phone factors to enable on the tenant. Can include sms and voice.

利用可能なオプション:
sms,
voice