Request Data
Required Information | |
---|---|
Name | Description |
action | adminoperators |
operation | editstatus |
format | xml |
target | The operator to modify. A request type must be specified as well (see below). |
reqtype | Flag to identify the key being used to identify the operator. Acceptable values:
|
status | The status to set the operator to. Acceptable values:
|
comment | Only required if the operator is being set to revoked status. Any arbitrary text string, unlimited length. |
Data Returned
A success or error message.
Example Request
https://omi.zonarsystems.net/interface.php?customer=zzo2544&username=zonar&password=secret.pw.2019&action=adminoperators&operation=editstatus\&format=xml&target=6997&reqtype=tag&status=2&comment=REVOKED
Example Success Reply
<?xml version="1.0"?>
<success ver="1">
<action>adminoperators</action>
</success>
Example Error Reply
<?xml version="1.0"?>
<error ver="1.0">
<action>adminoperators</action>
<code>107</code>
<message>No target supplied for operator.</message>
</error>