DELETE /api/v1/orgs/{id}/invitations/{inviteId} · Operation ID: cancelOrgInvitationorgs:manage. Owner/admin or manager through members.manage.curl --fail-with-body -X DELETE 'https://handwrites.io/api/v1/orgs/REPLACE_TEAM_ID/invitations/REPLACE_INVITATION_ID' \
-H "Authorization: Bearer $HANDWRITE_ACCESS_TOKEN"| Name | In | Required | Meaning |
|---|---|---|---|
id | path | Yes | An organisation ID (org_…). |
inviteId | path | Yes | An invitation ID. |
| Status | Meaning | Format |
|---|---|---|
| 204 | Withdrawn. | No body specified |
| 401 | unauthorized: no token, or it's invalid, revoked or expired. | application/json |
| 403 | insufficient_scope, forbidden (you can see it but not do this), app_test_restricted, account_deleted (the account is scheduled for deletion; any request). | application/json |
| 404 | not_found: it doesn't exist or you can't see it (never 403 for documents you can't see). | application/json |
| 429 | rate_limited (burst or daily cap) or quota_exceeded (no characters left). | application/json |
| 500 | internal_error. | application/json |