Skip to main content
Version: 5.7.0

SysDeleteEntities

Deletes all applicable custom entities from the server based on the custom entity type, specified delete criteria and acrossAllUsers flag, bypassing ownership/ACL checks.

ServiceOperation
customEntitySYS_DELETE_ENTITIES

Method Parameters

ParameterDescription
entityTypeThe type of custom entity being deleted.
deleteCriteriaThe delete criteria to be applied.
acrossAllUsersBoolean indicating whether delete is to be applied to all users (true) or not (false), when custom entities are owned.

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"data": {
"deletedCount": 3
},
"status": 200
}