Skip to main content
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();

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Organization identifier.

Maximum string length: 50
invitation_id
string
required

The id of the user invitation.

Response

Invitation successfully deleted.