Authentication (Allauth Headless)
Disconnect a third-party provider account
Disconnect a third-party provider account, returning the remaining accounts that are still connected. The disconnect is not allowed if it would leave the account unusable. For example, if no password was set up yet.
delete/api/v2/allauth/app/v1/account/providers
Request
- The document declares no server URL.
- Auth: none declared
Path parameters
client'app' | 'browser' required
The type of client accessing the API.
Headers
X-Session-Tokenstring
Session token. Only needed when client is equal to app.
Request body
Example request
{
"provider": "google",
"account": "goo12345"
}Response
List of third-party provider accounts.
Example response
{
"data": [
{
"uid": "goo12345",
"display": "Wizzkid",
"provider": {
"id": "google",
"name": "Google",
"client_id": "123.apps.googleusercontent.com",
"openid_configuration_url": "https://accounts.google.com/.well-known/openid-configuration"
}
}
]
}Changes
No recorded changes to this operation across all 50 revisions of this API.