Rensei docs

Soft-delete (revoke) an org API key.

Soft-delete (revoke) an org API key. - Rensei REST API operation reference.

DELETE
/api/org/api-keys

Authorization

AuthorizationBearer <token>

Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

keyId*string

The api_keys row id to revoke.

Response Body

application/json

curl -X DELETE "https://example.com/api/org/api-keys" \  -H "Content-Type: application/json" \  -d '{    "keyId": "string"  }'
{
  "success": true
}
Empty
Empty
Empty
Empty