Skip to content

Delete event

  • URL: [Base URL]/users/[user.id]/
  • Method: DELETE

[user.id] is the identifier (a UUID) of the user sent in the Upsert event (data.user.id).

Example

Let's assume a record created in the Upsert example needs to be deleted.

You can simulate the request that Social WiFi would do, with the following curl command:

curl \
  -X DELETE \
  -H "Authorization: Basic c29jaWFsd2lmaTpwYXNzd29yZA==" \
  -H "User-Agent: Social WiFi" \
  https://testing.mydomain.com/socialwifi/users/c9ad3b6d-3f13-4797-960a-43ca88c8e217/