Passer au contenu principal
DELETE
/
device-credentials
/
{id}
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.deviceCredentials.delete("id");
}
main();

Autorisations

Authorization
string
header
requis

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

Paramètres de chemin

id
string
requis

ID of the credential to delete.

Pattern: ^dcr_[A-Za-z0-9]{16}$

Réponse

Device credentials successfully deleted.