SysDropCollection
Drops the specified entity type collection.
Service | Operation |
---|---|
customEntity | SYS_DROP_COLLECTION |
Method Parameters
Parameter | Description |
---|---|
entityType | The name of the entity type collection to delete |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
var entityType = "athletes";
var customEntityProxy = bridge.getCustomEntityServiceProxy();
var postResult = customEntityProxy.sysDropCollection(entityType);
if (postResult.status == 200) {
// Success!
}
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"status": 200
"data": {
"collection": {}
}
}