Hoppa direkt till innehåll
API för att hantera adresser och anmälningar i Anslutamotorn
FormatXML AuthLogin OriginAnslutamotorn ConsumerStadsnät
empty_addresses
"mode" can be "all", "admin", "web", "import" or "api", which means:

all: Remove all addresses in the database
admin: Remove all addresses created by an administrator using the web interface
web: Remove all addresses created by visitors
import: Remove all addresses created by file import
api: Remove all addresses created by the API

Note, however, that if you remove all addresses and then import new ones via the API, all those will be marked as "api" addresses and will no longer be identified as an address created by a visitor, for example
  • Request

    GET /admin/edit/connect/plain/api
    • Attributes

    • Example request

      GET /admin/edit/connect/plain/api?method=empty_addresses&mode=admin&api_user=1234