
Note
You must forward the auth_token as a cookie with each API call.
Note
If no input data is provided, then all remote debug sessions are ended.Sample Requests
curl -X POST --cookie auth_token=$cookie http://172.16.0.24/rest/v1/act/end-remote-debug-sessions
curl -X POST --cookie auth_token=$cookie http://172.16.0.24/rest/v1/act/end-remote-debug-sessions
-d
'{"session_name":"one-day"}'
curl -X POST --cookie auth_token=$cookie http://172.16.0.24/rest/v1/act/end-remote-debug-sessions
-d
'{"user":"admin"}'
Request Body Parameters
| Parameter | Description | Required/Optional | Data Type |
|---|---|---|---|
| user | Name of the admin user who initiated the session | Optional | String |
| session_name | Name to identify this session | Optional | String |
Sample Response (200 OK)
{
"data": {
"status": true,
"message": "success"
},
"return_code": 0
}
Response Definitions
| Response Item | Description | Data Type |
|---|---|---|
| return_code | A flag indicating success or failure of the operation | Boolean |
| data | Data returned by the API server | String |
| errors | List of errors, if any | String |