Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

advanced_debugging.delete

Description

Delete or cancel one advanced debugging session.

Arguments

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.

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

Response

{
          'result' => 'success'
 }

Or

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