Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Revoke a team invitation

Cancels a pending invitation so its join link stops working.

DELETE/v1/team-invitations/{invitationId}
Authorization
AuthorizationBearer token · headerrequired

Better Auth session, OAuth access token, OAuth client-credentials token, or sfm_ Space machine credential.

Path parameters
invitationIdstringrequired

The invitation id (the token from the invite link).

min length 1
Responses
204

The invitation was revoked.

Try it
Server
Authorization
Parameters
Request
curl -X DELETE 'https://api.spacefast.com/v1/team-invitations/string' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
The invitation was revoked.

Was this page helpful?