DeleteSystemEntity
Method deletes an exisiting system entity on the server.
Service | Operation |
---|---|
globalEntity | DELETE_SYSTEM_ENTITY |
Method Parameters
Parameter | Description |
---|---|
entityId | The id of the entity to update. |
version | The version of the entity to update. Use -1 to indicate the newest version. |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
var entityId = "the-entity-id";
var version = 2;
var globalEntityProxy = bridge.getGlobalEntityServiceProxy();
var postResult = globalEntityProxy.deleteSystemEntity(entityId, version);
if (postResult.status == 200) {
// Success!
}
{
"service": "globalEntity",
"operation": "DELETE_SYSTEM_ENTITY",
"data": {
"entityId": "the-entity-id",
"version": 2
}
}
JSON Response
{
"data": {
"response": {
"data": null,
"status": 200
},
"success": true
},
"status": 200
}