Command

nylas webhook delete

Delete an existing webhook by ID.

Written by Qasim Muhammad Staff SRE

What does nylas webhook delete do?

The nylas webhook delete command removes a webhook destination from your Nylas application. Pass the webhook ID as a positional argument. The CLI confirms before deleting unless you pass --force to skip the prompt. Deleted webhooks stop receiving event notifications immediately.

Usage

nylas webhook delete <webhook-id> [--force]

Flags

FlagDescription
--jsonOutput as JSON
--no-colorDisable color output
--verbose(-v)Enable verbose output
--configCustom config file path
--help(-h)Show help for the command
--limitLimit results (most list commands)
--yes(-y)Skip confirmations
--force(-f)Skip confirmation prompt

Examples

The nylas webhook delete command removes a webhook destination from your Nylas application.

Delete a webhook by ID

nylas webhook delete wh_abc123def456 --force

List webhooks then delete one

nylas webhook list --json
nylas webhook delete wh_abc123def456

Example output

✓ Webhook deleted (webhook_abc123)
  Event notifications stopped for https://example.com/webhooks

Troubleshooting

Webhook not found

Run nylas webhook list to see active webhooks. The ID may have already been deleted.

Permission denied

Webhook deletion requires a valid API key. Run nylas auth config to verify credentials.

Recommended guides

Run nylas webhook delete --help for full help output.