Snoze Developers
API referenceWorkspaces

Revoke Invite

DELETE
/v1/workspaces/{workspaceId}/invites/{inviteId}
AuthorizationBearer <token>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

In: header

Path Parameters

workspaceId*string
inviteId*string

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/workspaces/string/invites/string"
{  "data": {    "id": "string",    "workspaceId": "string",    "email": "string",    "role": "owner",    "status": "pending",    "invitedByUserId": "string",    "acceptedByUserId": "string",    "expiresAt": "string",    "createdAt": "string",    "updatedAt": "string"  }}