AdminManageApiKeyDTO
Package: @nauth-toolkit/core
Type: DTO (Request)
Administrative list/revoke/delete of a user's API keys by sub. keyId required for revoke/delete.
- NestJS
- Express
- Fastify
import { AdminManageApiKeyDTO } from '@nauth-toolkit/nestjs';
import { AdminManageApiKeyDTO } from '@nauth-toolkit/core';
import { AdminManageApiKeyDTO } from '@nauth-toolkit/core';
Properties
| Property | Type | Required | Description with validation inline |
|---|---|---|---|
sub | string | Yes | Target user sub (UUID v4). |
keyId | string | No | External key identifier. Required for revoke/delete, omitted for list. |
Example
{
"sub": "550e8400-...",
"keyId": "660e8400-..."
}