Removed

Implement the accounts.removed webhook to know when a user removes their account.

accounts.removed is triggered when an account is removed. This happens when a user request through Argyle Link or when the API is called on the account object.

Event

accounts.removed

Payload

AttributeTypeDescription
accountstring uuidID of the account that was deleted.
userstring uuidID of the user associated with the account.

Examples

curl -X POST https://api.argyle.com/v1/webhooks \
  -u api_key_id:api_key_secret \
  -H "Content-Type: application/json" \
  -d '{"events": ["accounts.removed"],
       "secret": "<secret for signature verification>",
         "name": "accounts.removed",
          "url": "https://webhook.site/url"}'
{
    "event": "accounts.removed",
    "name": "An account was removed",
    "data": {
        "account": "ada143be-3c90-4534-b7ea-9899674dc6e0",
        "user": "3823026e-a964-45f6-b201-6b8c096b30d3"
    }
}