Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 812 Bytes

File metadata and controls

34 lines (25 loc) · 812 Bytes
description
Removes an invite from the server.

Remove Invite

{% hint style="info" %} Requires the create-invite-links permission. {% endhint %}

URL Requires Auth HTTP Method
/api/v1/removeInvite yes DELETE

Payload

Argument Example Required Description
_id 'kDKQ3H' Required The id of the invite to remove.

Example Call

curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
     -H "X-User-Id: aobEdbYhXfu5hkeqG" \
     -X DELETE \
     http://localhost:3000/api/v1/removeInvite/kDKQ3H

Example Result

true