advanced_debugging.delete

Description

Delete or cancel one advanced debugging session.

Arguments

name

value type

required

name

value type

required

id

integer representing the auto-increment field from the database

yes, if no object_name specified

delete

boolean indicating whether the gateway should delete the session and files

no

Example Requests & Responses

Example One

Request

Delete one advanced debugging session.

{     'method' => 'advanced_debugging.delete',     'parameters' => {           'delete' => 1,           'id' => '385'         } }

Response

{           'result' => 'success'  }

Or

{           'result' => 'error',           'error' => 'An Error String',           'error_key' => 'AN_ERROR_LANGUAGE_KEY',  }

Example Two

Request

Cancel, without deleting any files, one advanced debugging session.

Response

Or

Return to Documentation Home I Return to Sangoma Support