Saltar al contenido principal
GET
https://{tenantDomain}/api/v2
/
guardian
/
factors
/
phone
/
message-types
Go
package example

import (
    context "context"

    client "github.com/auth0/go-auth0/management/management/client"
    option "github.com/auth0/go-auth0/management/management/option"
)

func do() {
    client := client.NewClient(
        option.WithToken(
            "<token>",
        ),
    )
    client.Guardian.Factors.Phone.GetMessageTypes(
        context.TODO(),
    )
}
{
  "message_types": []
}

Autorizaciones

Authorization
string
header
requerido

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

Respuesta

Devuelve los factores de teléfono habilitados

message_types
enum<string>[]

La lista de factores telefónicos que se habilitarán en el inquilino. Puede incluir sms y voice.

Opciones disponibles:
sms,
voice