Workspace Users
Cancel Workspace Invite
Requires workspace-users-write
. Delete a pending invite.
DELETE
Cancel Workspace Invite
Delete an outstanding workspace invitation.
Authentication & Scope
Requires workspace-users-write
ability and admin privileges in the workspace.
Request
Path Parameters
Parameter | Type | Description |
---|---|---|
workspaceId | number | ID of the workspace. |
inviteId | number | ID of the invite to cancel. |
Response
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.
Authorizations
Personal Access Token
Response
200
application/json
Invite canceled
The response is of type object
.