Unlink Social Account
DELETE /api/v1/auth/web/social/{provider}/unlink
DELETE
/api/v1/auth/web/social/{provider}/unlink
Remove a linked social account from the authenticated user.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” provider
required
string
The OAuth provider name.
Example
googleResponses
Section titled “ Responses ”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."}