Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Table of Contents
minLevel2

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.

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

Response

Code Block
{
          'result' => 'success'
 }

Or

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

Example Two

Request

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

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

Response

Code Block
{
          'result' => 'success'
 }

Or

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