Jump to content

TuCloudAPI lockaccountcode: Difference between revisions

From Wiki 7Kas
TuCloudAPI reference (generated from func=help)
 
TuCloudAPI reference: product name -> FuturePBX (API surface unchanged); regenerated from func=help
 
Line 1: Line 1:
''TuCloudAPI function to manage tucloud (PBX) services. Available to: '''SuperRoot, Operator'''.''
''TuCloudAPI function to manage FuturePBX (the cloud PBX). Available to: '''SuperRoot, Operator'''.''


== Description ==
== Description ==

Latest revision as of 14:14, 3 August 2026

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

Description

Blocks (locks) an account (blocked=SI). Requires write permission (operator/SuperRoot, not read-only).

Call

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

Requires the ukey parameter.

Parameters

Parameter Type Required Default Meaning
accountcodeid integer Yes Account id to lock.

Example

https://api.7kas.com:9087/tucloud?func=lockaccountcode&ukey=OPKEY&accountcodeid=123

Response

Object confirming the lock.


Back to TuCloudAPI