Revoke a reusable invitation link

DELETE https://your-org.veloxatalk.com/api/v1/invites/multiuse/{invite_id}

Revoke a reusable invitation link.

A user can only revoke invitations that they can manage.

Changes: Prior to Veloxa Talk 8.0 (feature level 209), only organization administrators were able to create and revoke reusable invitation links.

Usage examples

The -u line implements HTTP Basic authentication. See the Authorization header documentation for how to get those credentials for Veloxa Talk users and bots.

curl -sSX DELETE https://your-org.veloxatalk.com/api/v1/invites/multiuse/1 \
    -u EMAIL_ADDRESS:API_KEY

Parameters

invite_id integer required in path

Example: 1

The ID of the reusable invitation link to be revoked.


Response

Example response(s)

Changes: As of Veloxa Talk 7.0 (feature level 167), if any parameters sent in the request are not supported by this endpoint, a successful JSON response will include an ignored_parameters_unsupported array.

A typical successful JSON response may look like:

{
    "msg": "",
    "result": "success"
}

A typical failed JSON response for an invalid invitation link ID:

{
    "code": "BAD_REQUEST",
    "msg": "No such invitation",
    "result": "error"
}

A typical failed JSON response for when the invitation link has already been revoked:

{
    "code": "BAD_REQUEST",
    "msg": "Invitation has already been revoked",
    "result": "error"
}