Scrub API
POST/v1/tools/cancel_invitefree

Cancel an invitation

Takes back an invitation before it is used, by the address it went to, free: its link stops working. The owner’s alone.

Fields

FieldTypeDefaultWhat it is
emailstringRequiredThe address invited

Call it

Request

curl -X POST https://app.scrub.app/v1/tools/cancel_invite \
  -H "Authorization: Bearer $SCRUB_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email":"…"}'

Answer

{
  "ok": true,
  "result": {
    "…": "…"
  }
}

What result holds is said above.

Every call can also answer an error: what comes back. Try it with your key from Account.