Skip to main content
DELETE
/
hooks
/
{id}
/
secrets
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.hooks.secrets.delete("id", [
        "string",
    ]);
}
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

ID of the hook whose secrets to delete.

Pattern: ^[A-Za-z0-9-]*$

Body

Minimum array length: 1

Response

Hook secrets successfully deleted.