From SwitchvoxExtendAPI
Debug Logging Functions
Description
Remove an archived debug log session.
Arguments
- See the Constructing Requests page to learn how to use arguments in requests.
| Name |
Required |
Type |
Default |
Description |
| session_id |
required |
integer |
|
The session_id for the session to delete. |
Example Requests & Responses
- Please see the API Request and Response Format section for more information on various request encodings.
Example One
Request
Example XML Request
<request method="switchvox.debug.acli.sessions.remove">
<parameters>
<session_id>190</session_id>
</parameters>
</request>
Response
Example XML Response
<response method="switchvox.debug.acli.sessions.remove">
<result>
<success/>
</result>
</response>
Error Codes
- See the Error Code Formatting section to see the xml structure when an error is returned.
- See the Generic Error Codes section to see a list of general fault codes that may be returned.
| Code |
Description |
| 82233 |
There is no session for session_id: 190 |
| 23176 |
Invalid TTK_ID (foo). Your ID must only contain digits. |
| 44122 |
You can not remove an active session. Stop the session first. |