---
title: "Delete Invite by ID"
slug: "delete-invite-by-id"
updated: 2026-09-03T14:50:33Z
published: 2026-09-03T14:50:33Z
canonical: "developer.rocket.chat/delete-invite-by-id"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://developer.rocket.chat/llms.txt
> Use this file to discover all available pages before exploring further.
# Delete Invite by ID
Delete/api/v1/removeInvite/{_id}
Deletes an invite from the workspace.
[Permission](https://docs.rocket.chat/docs/permissions) required: `create-invite-links`
Header parametersX-Auth-TokenstringRequired
The `authToken` of the authenticated user.
ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
X-User-IdstringRequired
The `userId` of the authenticated user.
ExamplerbAXPnMktTFbNpwtJ
Path parameters_idstringRequired
The invite ID to be deleted.
ExamplekDKQ3H
Responses200
OK
Success
```json
{
"success": true
}
```
object successboolean
400
Bad Request
Invalid Invitation Id
```json
{
"success": false,
"error": "Invalid Invitation _id [invalid-invitation-id]",
"errorType": "invalid-invitation-id",
"details": {
"method": "removeInvite"
}
}
```
Expand Allobject successboolean
errorstring
errorTypestring
detailsobject methodstring
401
Unauthorized
Authorization Error
```json
{
"status": "error",
"message": "You must be logged in to do this."
}
```
object statusstring
messagestring