Requires workspace-users-write
. Delete a pending invite.
Delete an outstanding workspace invitation.
Requires workspace-users-write
ability and admin privileges in the workspace.
Parameter | Type | Description |
---|---|---|
workspaceId | number | ID of the workspace. |
inviteId | number | ID of the invite to cancel. |
200 OK
– Confirmation message.
Possible errors:
Invite not found for this workspace.
Invite already accepted.
Both are returned with status 400.
403 Forbidden
– Token lacks workspace-users-write
or insufficient privileges.
Personal Access Token
Invite canceled
The response is of type object
.