ftos.data.delete

IMPORTANT!  
Starting with v24.3.0, this is renamed from deleteById to ftos.data.delete.

Deletes a specific record from an entity based on its ID. It returns true when a record is found and successfully deleted, and false when no record with the given ID exists and therefore nothing is deleted (starting with Platform version 24.5.0).

This is a data service method for business service components.

Syntax

function ftos.data.delete(entityName: string, id: string): void
 
Parameter Description
entityName The parent entity, such as entity, attribute, relationship, systemuser, systemusertype, customizationset, businessunit, or portal.
id Unique internal identifier of the record you wish to delete.

Examples