Sidebar

api:application:delete

Table of Contents

delete()

Available since version: 1.8
This function allows you to delete information about one or several applications.

Parameters

Array of Application IDs

Returns

ParameterDescription
resultOperation successful. Result will contain array of deleted Application IDs.
errorIn case of any errors

Example

Delete applications by application ID

{
"jsonrpc":"2.0",
"method":"application.delete",
"params":["107824",  "107825"],
"auth":"3a57200802b24cda67c4e4010b50c065",
"id":2
}

Applications deleted successfully:

{
"jsonrpc":"2.0",
"result":{
   "applicationids": ["107824", "107825"]
},
"id":2
}

Applications does not exist:

{
"jsonrpc":"2.0",
"error":{
      "code":-32500,
      "message":"Application error.",
      "data":"[ CApplication::delete ] Application does not exist"
},
"id":2
}