Use this to remove an operator object from the system.
Note: Only operators without inspections can be deleted.
Request Data
Required Information | |
---|---|
Name | Description |
action | adminoperators |
operation | delete |
format | xml |
target | The operator to delete. A request type must be specified as well (see below). |
reqtype | Flag to identify the key being used to identify the operator. Acceptable values:
|
Data Returned
A success or error message.
Example Request
https://omi.zonarsystems.net/interface.php?customer=zzo2544&username=zonar&password=secret.pw.2019&customer=truck\&action=adminoperators\&operation=delete\&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>