Skip to main content
DELETE
/
api
/
v1
/
invitations
/
by-scope
/
{scopeType}
/
{scope}
Delete all invitations by scope
curl --request DELETE \
  --url https://api.example.com/api/v1/invitations/by-scope/{scopeType}/{scope}
{
  "statusCode": 404,
  "message": "Scope not found",
  "error": "Not Found"
}

Path Parameters

scopeType
string
required

The type of the scope, such as "team" or "project". If you do not have a scope type, use "default"

scope
string
required

The ID of the scope to delete invitations for

Response

Successfully deleted all invitations for the scope