ebs.deleteEbs (Deprecated)
IMPORTANT!
This function has been deprecated starting with v24.1. To re-enable it, use the the sys-do-not-allow-client-side-direct-data-updates system parameter.
This function has been deprecated starting with v24.1. To re-enable it, use the the sys-do-not-allow-client-side-direct-data-updates system parameter.
Deletes specific records from an entity based on their IDs.
Syntax
Copy
deleteEbs(modifyRequest: IEntityRecordCollectionInfo, callback: any, errorCallback: any): void
Where IEntityRecordCollectionInfo has the following syntax:
Copy
{
entityName:<<i>entity_name</i>>,
idList:<<i>item_IDs</i>>
}
| Parameter | Description |
|---|---|
entity_name
|
The parent entity, such as entity, attribute, relationship, systemuser, systemusertype, customizationset, businessunit, or portal. |
item_IDs
|
List of unique internal identifiers of the records you wish to delete. |
Response
| Key | Description |
|---|---|
IsSuccess
|
Indicates if the records were deleted successfully. |
Examples
In this example:
- We delete customizationsets with the following IDs: 3af016e1-1bcc-408e-8434-364e76bdc9af and 2bc228ae-a688-4051-865f-78fd28c084b5.
- The response indicates that the request was executed successfully (IsSuccess: "true").
Request
Copy
ebs.deleteEbs({
Request: {
entityName: "customizationset",
idList: [
"3af016e1-1bcc-408e-8434-364e76bdc9af",
"2bc228ae-a688-4051-865f-78fd28c084b5"
]
}
}, function(e){
console.log(e.IsSuccess);
}
);
Response
Copy
{
IsSuccess: "true",
}