For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Logo
Resources
Log inGet a demo
GuidesModelsAPI reference
GuidesModelsAPI reference
  • API Overview
  • Management API
      • GETList API keys
      • POSTCreate an API key
      • GETGet an API key
      • DELDelete an API key
      • PATCHUpdate an API key

Get started

  • Overview
  • Introduction
  • Unified API
  • Linked Account
  • Merge Link
  • Use cases

Implementation

  • Sandboxes
  • SDKs
  • API access
  • Syncing data
  • Writing data
  • Data minimization
  • Supplemental data
  • Errors
  • Integration metadata

API reference

  • ATS
  • HRIS
  • Accounting
  • Ticketing
  • CRM
  • File Storage
  • Knowledge Base
  • Chat

Resources

  • Help Center
  • Merge.dev
  • Changelog
© Merge 2026Terms of usePrivacy policy
UnifiedAgent HandlerGateway
UnifiedAgent HandlerGateway
Resources
Log inGet a demo
Management APIAPI keys

Delete an API key

DELETE
https://gateway.merge.dev/v1/keys/:key_hash
DELETE
/v1/keys/:key_hash
$curl -X DELETE https://gateway.merge.dev/v1/keys/key_hash \
> -H "Authorization: Bearer <token>"

Revoke a key immediately. Its historical spend is retained for reporting. To stop a key without losing it, set disabled instead.

Was this page helpful?
Previous

Get an API key

Next

Update an API key

Authentication

AuthorizationBearer

A management key (prefixed mgmt_), created in the dashboard under Settings, API keys, Management keys. Distinct from a regular gateway API key, and never used to call models.

Path parameters

key_hashstringRequired

The key’s hash from a create or list response.

Errors

401
Unauthorized Error
404
Not Found Error