Authentication (Allauth Headless)

Remove an email address

Used to remove an email address.

delete/api/v2/allauth/app/v1/account/email

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

emailstring required

The email address.

Example request

{
  "email": "email@domain.org"
}

Response

List of email addresses.

status200 required

Example response

{
  "data": [
    {
      "email": "email@domain.org",
      "primary": true
    }
  ]
}

Changes

No recorded changes to this operation across all 50 revisions of this API.