# delete_sub_api_key

Delete a sub API key.

Agent View of the PolicyLayer registry record for `delete_sub_api_key`. HTML page: https://policylayer.com/tools/johnnywic-bybit-mcp/delete-sub-api-key

## Facts

- Tool: `delete_sub_api_key`
- Server: Bybit (`johnnywic/bybit-mcp`) — https://policylayer.com/tools/johnnywic-bybit-mcp.md
- Homepage: https://github.com/JohnnyWic/bybit-mcp
- Risk category: Destructive (Critical risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Hidden

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "delete_sub_api_key",
    "arguments": {}
  }
}
```

## Why delete_sub_api_key is rated Critical

This tool performs an irreversible deletion of authentication credentials (a sub API key). Once deleted, the key cannot be recovered and any dependent integrations or access would be severed. This is a destructive action as defined by the category—it cannot be undone.

From the tool's own definition: "Tool name explicitly states 'delete' combined with 'sub API key'. The description confirms irreversible deletion: 'Delete a sub API key.' API keys are critical security credentials; deletion cannot be undone and would immediately revoke access/permissions…"

## Use case

AI agents call delete_sub_api_key to permanently remove resources in Bybit, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

## Recommended policy (PolicyLayer)

Verdict: **Hidden**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Bybit:

```json
{
  "version": "1",
  "default": "deny",
  "hide": [
    "delete_sub_api_key"
  ]
}
```

## Other tools on Bybit (244)

- `batch_cancel_order` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/batch-cancel-order.md
- `cancel_all_orders` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/cancel-all-orders.md
- `cancel_all_rfq_quotes` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/cancel-all-rfq-quotes.md
- `cancel_all_rfqs` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/cancel-all-rfqs.md
- `cancel_all_spread_orders` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/cancel-all-spread-orders.md
- `cancel_new_crypto_loan_fixed_borrow` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/cancel-new-crypto-loan-fixed-borrow.md
- `cancel_new_crypto_loan_fixed_supply` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/cancel-new-crypto-loan-fixed-supply.md
- `cancel_order` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/cancel-order.md
- `cancel_rfq` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/cancel-rfq.md
- `cancel_rfq_quote` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/cancel-rfq-quote.md
- `cancel_spread_order` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/cancel-spread-order.md
- `cancel_withdrawal` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/cancel-withdrawal.md
- `delete_master_api_key` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/delete-master-api-key.md
- `delete_sub_uid` — Destructive — https://policylayer.com/tools/johnnywic-bybit-mcp/delete-sub-uid.md
- `execute_hedge_arbitrage_strategy` — Execute — https://policylayer.com/tools/johnnywic-bybit-mcp/execute-hedge-arbitrage-strategy.md
- `freeze_sub_uid` — Execute — https://policylayer.com/tools/johnnywic-bybit-mcp/freeze-sub-uid.md
- `pre_check_order` — Execute — https://policylayer.com/tools/johnnywic-bybit-mcp/pre-check-order.md
- `reset_mmp` — Execute — https://policylayer.com/tools/johnnywic-bybit-mcp/reset-mmp.md
- `set_leverage` — Execute — https://policylayer.com/tools/johnnywic-bybit-mcp/set-leverage.md
- `accept_rfq_non_lp_quote` — Financial — https://policylayer.com/tools/johnnywic-bybit-mcp/accept-rfq-non-lp-quote.md
- `amend_order` — Financial — https://policylayer.com/tools/johnnywic-bybit-mcp/amend-order.md
- `batch_place_order` — Financial — https://policylayer.com/tools/johnnywic-bybit-mcp/batch-place-order.md
- `confirm_convert_quote` — Financial — https://policylayer.com/tools/johnnywic-bybit-mcp/confirm-convert-quote.md
- `confirm_fiat_quote` — Financial — https://policylayer.com/tools/johnnywic-bybit-mcp/confirm-fiat-quote.md
- `confirm_small_balance_quote` — Financial — https://policylayer.com/tools/johnnywic-bybit-mcp/confirm-small-balance-quote.md
- `create_internal_transfer` — Financial — https://policylayer.com/tools/johnnywic-bybit-mcp/create-internal-transfer.md
- `create_rfq_quote` — Financial — https://policylayer.com/tools/johnnywic-bybit-mcp/create-rfq-quote.md
- `create_universal_transfer` — Financial — https://policylayer.com/tools/johnnywic-bybit-mcp/create-universal-transfer.md
- `crypto_loan_adjust_ltv` — Financial — https://policylayer.com/tools/johnnywic-bybit-mcp/crypto-loan-adjust-ltv.md
- `crypto_loan_borrow` — Financial — https://policylayer.com/tools/johnnywic-bybit-mcp/crypto-loan-borrow.md
- …and 214 more: https://policylayer.com/tools/johnnywic-bybit-mcp.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=johnnywic-bybit-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/johnnywic-bybit-mcp
