Passer au contenu principal
DELETE
/
organizations
/
{id}
/
client-grants
/
{grant_id}
TypeScript
import { ManagementClient } from "auth0";

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

The Client Grant ID to remove from the organization

Réponse

The Client Grant was removed from the Organization.