# Members & invites: Withdraw an invitation (https://docs.envocal.ai/api-reference/members-and-invites/withdraw-an-invitation/) > Deletes a pending invitation; its link stops working. ## DELETE `/v1/tenants/{tenantId}/invites/{inviteId}` Deletes a pending invitation; its link stops working. **Required permission:** `members:write` ### Parameters | Name | In | | Type | Description | | --- | --- | --- | --- | --- | | `tenantId` | path | required | string | Tenant id, or `current` for the key's own tenant. Must be the key's tenant or one of its sub-tenants. | | `inviteId` | path | required | string | Invitation id. | ### Responses **204**: Withdrawn. **401**: Missing, invalid, revoked or expired API key. **403**: The key lacks the required permission, or the tenant/resource is outside its reach. **404**: No pending invitation with this id. **429**: Rate limit exceeded. Retry after the number of seconds in the Retry-After header. ### Example ```bash curl -X DELETE "https://api.envocal.ai/v1/tenants/current/invites/{inviteId}" \ -H "Authorization: Bearer evk_eu_..." ```