Remove Invite

Removes an invite from the server. Requires the create-invite-links permission.

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