Snapvisor Docs

Cancel an invite

Cancel a pending invitation, invalidating its link. Requires administrator access to the team. Use it when a pending invitation was sent by mistake or should no longer be accepted.

DELETE
/accounts/{accountSlug}/invites/{inviteId}

Cancel a pending invitation, invalidating its link. Requires administrator access to the team. Use it when a pending invitation was sent by mistake or should no longer be accepted.

Authorization

AuthorizationBearer <token>

Authenticate as a user with a personal access token.

Send it as a bearer token in the Authorization header:

Authorization: Bearer <personal-access-token>

Personal access tokens act on behalf of the user that created them and are required by endpoints that perform user actions, such as reviewing builds and posting comments.

In: header

Path Parameters

accountSlug*string

Slug of the team.

Length1 <= length
inviteId*string

Identifier of the invite, as returned when listing them.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/accounts/string/invites/string"
Empty