Skip to main content
Version: 5.7.0

DeleteEntity

Deletes the specified custom entity on the server.

ServiceOperation
customEntityDELETE_ENTITY

Method Parameters

ParameterDescription
entityTypeThe type of custom entity being deleted.
entityIdThe id of custom entity being deleted.
versionVersion of the custom entity being deleted.

Usage

http://localhost:3000
string entityType = "athletes";
string entityId = "aaaa-bbbb-cccc-dddd";
int version = 1;
SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.CustomEntityService.DeleteEntity(entityType, entityId, version, successCallback, failureCallback);
JSON Response
{
"status": 200,
"data": null
}