RESTful API: Dropping calls: Difference between revisions
Lucas Joyal (talk | contribs) (Change order of arguments to have the URL at the end (cleaner)) |
(change format to improve readability) |
||
| Line 1: | Line 1: | ||
The following use case provide guidance for dropping multiple calls: | The following use case provide guidance for dropping multiple calls: | ||
== Usage Example == | |||
<code> | <code> | ||
tbconfig --port <port> -u <username> -p <password> -d -q "parameter1=value1,parameter2=value2" /call_traces/destroy_all | tbconfig --port <port> -u <username> -p <password> -d -q "parameter1=value1,parameter2=value2" /call_traces/destroy_all | ||
</code> | </code> | ||
* -d flag is used to send a HTTP DELETE request method | |||
* -q is used to append the argument in the HTTP request | |||
Be careful when sending this command, as a too broad request '''will''' drop all active calls. | Be careful when sending this command, as a too broad request '''will''' drop all active calls. | ||
== Reference == | |||
[[Filter_parameters_reference_guide_A|Filter parameters reference guide]] | |||
Revision as of 12:26, 29 November 2017
The following use case provide guidance for dropping multiple calls:
Usage Example
tbconfig --port <port> -u <username> -p <password> -d -q "parameter1=value1,parameter2=value2" /call_traces/destroy_all
- -d flag is used to send a HTTP DELETE request method
- -q is used to append the argument in the HTTP request
Be careful when sending this command, as a too broad request will drop all active calls.