Jump to content

TuCloudAPI SetDebugLevel: Difference between revisions

From Wiki 7Kas
TuCloudAPI reference (generated from func=help)
 
TuCloudAPI reference regenerated from func=help: tenancy rule, pbx notes on every PBX-scoped function, error codes
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
''TuCloudAPI function to manage tucloud (PBX) services. Available to: '''SuperRoot'''.''
''TuCloudAPI function to manage FuturePBX (the cloud PBX). Available to: '''SuperRoot'''.''


== Description ==
== Description ==
Line 5: Line 5:


== Call ==
== Call ==
GET https://tucloudapi.7kas.com:9087/tucloud?func=SetDebugLevel&ukey=YOUR_KEY
  https://tucloudapi.7kas.com:9087/tucloud?func=SetDebugLevel&ukey=YOUR_KEY
Requires the <code>ukey</code> parameter.
GET, or POST with the parameters form-urlencoded in the body. Requires the <code>ukey</code> parameter.


== Parameters ==
== Parameters ==

Latest revision as of 21:16, 8 October 2026

TuCloudAPI function to manage FuturePBX (the cloud PBX). Available to: SuperRoot.

Description

Sets the runtime debug/log verbosity level. SuperRoot only.

Call

https://tucloudapi.7kas.com:9087/tucloud?func=SetDebugLevel&ukey=YOUR_KEY

GET, or POST with the parameters form-urlencoded in the body. Requires the ukey parameter.

Parameters

Parameter Type Required Default Meaning
level integer Yes — New debug level, 0 (off) to 3 (most verbose).

Example

https://api.7kas.com:9087/tucloud?func=SetDebugLevel&ukey=SRKEY&level=2

Response

Object: {"debuglevel":N} with the level applied.


Back to TuCloudAPI