Passer au contenu principal
DELETE
/
organizations
/
{id}
/
invitations
/
{invitation_id}
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.organizations.invitations.delete("id", "invitation_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

Organization identifier.

Maximum string length: 50
invitation_id
string
requis

The id of the user invitation.

Réponse

Invitation successfully deleted.