Skip to main content

$caila.deleteClientEntityRecords

Removes the records with the specified id for a certain client.

Syntax

The arguments accepted by the method are the name of the entity the records of which are to be removed, entity IDs (id) and the clientId.

$caila.deleteClientEntityRecords("EntityName", [Number("id"), Number("id")]);
ParameterTypeMandatoryDescription
EntityNamestringYesName of the entity where the record is to be removed.
idstringYesRecord ID.
clientIdstringNoClient ID.
classifierTokenstringNoAPI key used to access an external trained classifier.
tip
Use the $caila.getClientEntityRecords method to get the record ID

How to use

Remove the records of the ClientEntity entity:

state: Example
intent: /Delete
script:
$caila.deleteClientEntityRecords("ClientEntity", [Number("292517"), Number("292516")]);