API Function: UpdateSubAccount
Resource URL: www.dialmycalls.com/api/1-0/UpdateSubAccount
This updates a sub account that was previously created.
Required Resource Properties
| Property | |
|---|---|
| accountid | This associates the request with a particular sub account. |
| pin | A numeric value ranging between 3 and 10 characters that will be used to verify a sub account. |
Optional Resource Properties
| Property | |
|---|---|
| active | A value (1/0) where 1 tells the system you want that this sub account is active. A value of 0 would disable this account. |
| maxrecordinglen | Max recording length in seconds that a sub account will be allowed to record for. Default is 0 (unlimited). |
Examples
- How To Update A Pin
-
$request->execute("/1-0/UpdateSubAccount/", 'POST',array("accountid"=>"1234","pin"=>"123456"));