RevokeApiKeyDTO
Package: @nauth-toolkit/core
Type: DTO (Request)
Revoke (soft-delete) an API key by identifier.
- NestJS
- Express
- Fastify
import { RevokeApiKeyDTO } from '@nauth-toolkit/nestjs';
import { RevokeApiKeyDTO } from '@nauth-toolkit/core';
import { RevokeApiKeyDTO } from '@nauth-toolkit/core';
Properties
| Property | Type | Required | Description with validation inline |
|---|---|---|---|
keyId | string | Yes | External key identifier (UUID v4). |
Example
{
"keyId": "550e8400-e29b-41d4-a716-446655440000"
}