Jump to content

TuCloudAPI lockaccountcode

From Wiki 7Kas

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