POST
/v1/tools/cancel_invitefreeCancel 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
| Field | Type | Default | What it is |
|---|---|---|---|
email | string | Required | The 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.