Skip to main content
DELETE
/
organisations
/
{orgId}
/
api-keys
/
{keyId}
Revoke an API key
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.prudra.dev/organisations/{orgId}/api-keys/{keyId}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));

Documentation Index

Fetch the complete documentation index at: https://docs.prudra.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Your Prudra API key. Get one at dashboard.prudra.com/settings/api-keys

Path Parameters

orgId
string
required
keyId
string
required

Response

Key revoked