UnlinkSocialAccountDTO
Package: @nauth-toolkit/core
Type: DTO (Request)
Request DTO for unlinking social account.
- NestJS
- Express
- Fastify
import { UnlinkSocialAccountDTO } from '@nauth-toolkit/nestjs';
import { UnlinkSocialAccountDTO } from '@nauth-toolkit/core';
import { UnlinkSocialAccountDTO } from '@nauth-toolkit/core';
Properties
| Property | Type | Required | Description |
|---|---|---|---|
provider | string | Yes | Social provider name (e.g., google, apple, facebook). Trimmed and lowercased. Max 50 chars. |
note
The user is resolved from the authenticated JWT context — no userId field is required in the request body.
Example
{
"provider": "google"
}