Skip to content

Unlink Social Account

DELETE
/api/v1/auth/web/social/{provider}/unlink

Remove a linked social account from the authenticated user.

provider
required
string

The OAuth provider name.

Example
google
object
message
string
Social account unlinked successfully.
{
"message": "Social account unlinked successfully."
}

Unauthenticated

object
message
string
Unauthenticated.
{
"message": "Unauthenticated."
}

Not found

object
message
string
Social account not found.
{
"message": "Social account not found."
}

Last auth method

object
message
string
Cannot unlink the last authentication method. Please set a password first.
{
"message": "Cannot unlink the last authentication method. Please set a password first."
}