Passer au contenu principal
GET
https://{tenantDomain}/api/v2
/
guardian
/
factors
/
push-notification
/
providers
/
apns
Go
package example

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

func do() () {
    client := client.NewClient(
        option.WithToken(
            "<token>",
        ),
    )
    client.Guardian.Factors.PushNotification.GetApnsProvider(
        context.TODO(),
    )
}
{
  "bundle_id": "<string>",
  "sandbox": true,
  "enabled": true
}

Autorisations

Authorization
string
header
requis

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

Réponse

APNS configuration successfully retrieved.

bundle_id
string | null
Required string length: 1 - 20
sandbox
boolean
enabled
boolean