Revoke Invite

Cancel a pending invite so the invitee can no longer accept it. Admin only. The invite token is invalidated immediately. If the invitee attempts to accept after revocation, they receive a 410 Gone. The invite is removed from the pending list returned by `GET /workspaces/{ws_id}/members`. Revoking an invite that is already accepted, revoked, or expired returns 404. To remove an already-accepted member, use `DELETE /workspaces/{ws_id}/members/{member_id}`.

Authentication

AuthorizationBearer
Clerk JWT token

Path parameters

ws_idstringRequiredformat: "uuid"
invite_idstringRequiredformat: "uuid"

Response

Successful Response
datamap from strings to any
metaobject

Errors

422
Unprocessable Entity Error