Passer au contenu principal
GET
/
branding
/
phone
/
providers
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.branding.phone.providers.list({
        disabled: true,
    });
}
main();
{
  "providers": [
    {
      "name": "twilio",
      "id": "<string>",
      "tenant": "<string>",
      "channel": "phone",
      "disabled": true,
      "configuration": {
        "sid": "<string>",
        "delivery_methods": [
          "text"
        ],
        "default_from": "<string>",
        "mssid": "<string>"
      },
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Autorisations

Authorization
string
header
requis

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

Paramètres de requête

disabled
boolean

Whether the provider is enabled (false) or disabled (true).

Réponse

Phone providers have been successfully retrieved.

providers
object[]