Deletes a resource.
string resourceDelete(array resourceId)
- Parameters
-
- Returns
- The return value is the id or bookmark of the deleted resource. This value is no longer valid.
- Usage
- The resource must not be a collection.
Examples
C#
call.resourceDelete( new string[] { "companies", "name$XYZ Company" });
Python
1 call.resourceDelete( [
'companies',
'name$XYZ Company' ])
Request
{
"method" : "resourceDelete",
"params" : [
[ "companies", "name$XYZ Company" ]
]
}
Reply
{
"result" : "1234567890"
}