Unlink external auth provider
unlink_external_authUnlink an OAuth2 provider (like Google or GitHub) from a user record. Enables superusers to remove external authentication associations, controlling sign-in methods.
Instructions
Remove a linked OAuth2 provider from a user record (superuser only).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"recordId": "<recordId>",
"provider": "<provider>"
},
"name": "unlink_external_auth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | Provider name (e.g. 'google', 'github'). | |
| recordId | Yes | User record id. | |
| collection | No | Auth collection (default 'users'). |