Passer au contenu principal
PATCH
/
guardian
/
factors
/
push-notification
/
providers
/
apns
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.guardian.factors.pushNotification.setApnsProvider({});
}
main();
{
  "sandbox": true,
  "bundle_id": "<string>"
}

Autorisations

Authorization
string
header
requis

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

Corps

sandbox
boolean
bundle_id
string | null
Required string length: 1 - 1000
p12
string | null
Required string length: 1 - 10000

Réponse

APNS configuration successfully updated.

sandbox
boolean
bundle_id
string | null
Required string length: 1 - 1000