UnsetObjectTrainingOption
Removes a training option that has been applied to an object.
Following successful completion of this action the specified training option for the specified object will take the default value.
NOTE: Removing a training option invalidates all training associated with an object. After using this action, you must retrain Media Server by running the action BuildObject.
Type: synchronous
Parameter | Description | Required |
---|---|---|
database
|
The name of the database that contains the object. | Yes |
identifier
|
The identifier of the object for which you want to remove a training option. | Yes |
key
|
The name of the training option to remove. For a list of valid options, see SetObjectTrainingOption. | Yes |
Example
This example removes the useColor
training option from an object:
/action=UnsetObjectTrainingOption&database=CompanyLogos &identifier=HP &key=useColor
Response
<autnresponse> <action>UNSETOBJECTTRAININGOPTION</action> <response>SUCCESS</response> <responsedata></responsedata> </autnresponse>