TuCloudAPI lockaccountcode: Difference between revisions
Appearance
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 | ''TuCloudAPI function to manage FuturePBX (the cloud PBX). Available to: '''SuperRoot, Operator'''.'' | ||
== Description == | == Description == | ||
| Line 5: | Line 5: | ||
== Call == | == Call == | ||
https://tucloudapi.7kas.com:9087/tucloud?func=lockaccountcode&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:17, 8 October 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
https://tucloudapi.7kas.com:9087/tucloud?func=lockaccountcode&ukey=YOUR_KEY
GET, or POST with the parameters form-urlencoded in the body. 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