RESTful API: Dropping calls

From TBwiki
Revision as of 13:11, 27 November 2017 by Lucas Joyal (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The following use case provide guidance for dropping multiple calls:

tbconfig --port <port> -u <username> -p <password> /call_traces/destroy_all -d -q "parameter1=value1,parameter2=value2"

The -d flag is used to send a HTTP DELETE request method and the -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.

For a list of parameters that can be used, consult: Filter parameters reference guide

Personal tools