Skip to main content

UnlinkSocialAccountDTO

Package: @nauth-toolkit/core Type: DTO (Request)

Request DTO for unlinking social account.

import { UnlinkSocialAccountDTO } from '@nauth-toolkit/nestjs';

Properties

PropertyTypeRequiredDescription
providerstringYesSocial 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"
}

Used By