Skip to content

Revoke group invite

DELETE
/api/groups/{groupId}/invites/{inviteId}
curl --request DELETE \
--url http://localhost:3001/api/groups/example/invites/example \
--header 'Authorization: <Authorization>'

Revoke an existing group invite. Admin/owner only.

groupId
required
string

Group ID

inviteId
required
string

Invite ID

OK

Media typeapplication/json
object
key
additional properties
any
Examplegenerated
{}

Unauthorized

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Forbidden

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Not Found

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Internal Server Error

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}