You are currently viewing Zend Server 5.x documentation. Click here to view the latest Zend Server online documentation.
You are here: Web API Reference Guide > Available API Methods > Codetracing Methods > The codetracingDelete Method

The codetracingDelete Method

Delete a code-tracing file entry.

 

Required Permissions: Full

HTTP method: POST

Supported Editions: Zend Server, Zend Server Cluster Manager

Request parameters:

Parameter

 Type

Required

Description

traceFile

	String	

Yes	

Trace file identifier

 

Expected Response Code: 200 OK. For more information see Response Format.

Response Format: Details of the trace-file entry that was deleted <or> an error message if the operation failed

Possible Action Specific Error Codes:

HTTP Code

Error Code

Description

500

internalServerError

The code tracing action failed

404

noSuchTrace

The requested trace could not be found

 

Usage Example

Example:

Request:

Post /ZendServerManager/Api/codetracingDelete

 

Response:

<?xml version="1.0" encoding="UTF-8"?>

<zendServerAPIResponse xmlns="http://www.zend.com/server/api/1.1">

    <requestData>

           <apiKeyName><![CDATA[Admin]]></apiKeyName>

           <method>codetracingDelete</method>

    </requestData>

    <responseData>

           <codeTrace>

               <id>1.123.5</id>

               <date>123412341234</date>

               <url>http://localhost/test.php</url>

               <createdBy>Monitor Event</createdBy>

               <fileSize>12341234</fileSize>

               <applicationId>1</applicationId>

           </codeTrace>

     </responseData>

<zendServerAPIResponse>

 

 

 

Related Links

Related Links:

Available API Methods

 

 

 

© 1999-2013 Zend Technologies, Ltd. All rights reserved.