v1

latestOpenAPI 3.1.02026-07-13250151.3 KB
api-keys

Revoke (delete) one of the current user's API keys by id.

Cookie session only — never inspects Authorization header; pm_live_ Bearer NOT accepted. Delete filters on both id=keyId and user_id=current user, so a user can only revoke their own keys. No workspace role check (unlike POST). Returns a fixed { success:true, message } body regardless of whether a row actually matched.

delete/api/v1/api-keys

Request body

keyIdstring required

Id of the api_keys row to delete; scoped to the authenticated user (eq user_id).

Response

Key revoked (delete is scoped to eq id + eq user_id; succeeds even if no row matched).

object required