curl --request DELETE \
--url https://api.example.com/api/v1/invitations/by-scope/{scopeType}/{scope} \
--header 'x-api-key: <api-key>'{
"statusCode": 404,
"message": "Scope not found",
"error": "Not Found"
}This endpoint is used to delete all invitations associated with a specific scope. It will remove all invitations for the specified scope, making them no longer valid for acceptance.
curl --request DELETE \
--url https://api.example.com/api/v1/invitations/by-scope/{scopeType}/{scope} \
--header 'x-api-key: <api-key>'{
"statusCode": 404,
"message": "Scope not found",
"error": "Not Found"
}The type of the scope, such as "team" or "project". If you do not have a scope type, use "default"
The ID of the scope to delete invitations for
Successfully deleted all invitations for the scope