description |
---|
Removes an invite from the server. |
{% hint style="info" %}
Requires the create-invite-links
permission.
{% endhint %}
URL | Requires Auth | HTTP Method |
---|---|---|
/api/v1/removeInvite |
yes |
DELETE |
Argument | Example | Required | Description |
---|---|---|---|
_id |
'kDKQ3H' |
Required | The id of the invite to remove. |
curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
-H "X-User-Id: aobEdbYhXfu5hkeqG" \
-X DELETE \
http://localhost:3000/api/v1/removeInvite/kDKQ3H
true