"deleteOutput"
JSON hub "deleteOutput"
action removes a previously created FairCom Edge integration
The "deleteOutput"
action removes a previously created integration. An integration connects data in the server to an output plugin that delivers tags from the server to external systems.
Note
A tag is a piece of named data with an associated value. For example, the tag temperature 70
includes both the named data temperature
and the value 70
. In JSON, a tag is a JSON property, such as "temperature": 70
. In a SQL table, a tag is a data field, such as a field named temperature
with a value of 70
.
Request examples
Minimal request
{ "api": "hub", "apiVersion": "1.0", "requestId": "00000001", "authToken": "anAuthorizationTokenFromTheServer", "action": "deleteOutput", "params": { "outputName": "AcmefactoryLine1Station1AcidbathTelemetryOutput" } }
Use the deleteOutput JSON API action to delete a previously created FairCom Edge integration
The "params"
property is an object that contains an action's parameters. Each action defines its own required and optional properties.
Properties summary
"params"
properties summaryProperty | Description | Default | Type | Limits (inclusive) | ||||||
---|---|---|---|---|---|---|---|---|---|---|
addFields | adds new fields to the table and specify their properties |
| array of objects | |||||||
apiVersion | specifies the major, minor, and patch versions of the API | Required - No default value | string | 0 to 12 bytes | ||||||
applyChangesNow | applies your specified changes immediately to the table when |
| Boolean |
| ||||||
authToken | signifies that the client is authenticated and authorized | Required - No default value | string | 0 to 255 bytes | ||||||
databaseName | contains the name of a database | Required - No default value | string | 1 to 64 bytes | ||||||
increaseFieldSize | specifies a field in the table and modify its properties |
| array of objects | |||||||
metadata | exists primarily for the user interface to find integration information |
| object | May contain any number and type of user-defined properties | ||||||
retentionPeriod | sets the number of retention units, which controls how long data is retained – see |
| integer | > | ||||||
retentionUnit | purges expired messages each time this unit cycles – see |
| string |
| ||||||
tableName | specifies the name of the table where FairCom will store the data that it extracts for incoming data messages published to the | Required - No default value | string | 1 to 64 bytes | ||||||
transforms | contains up to nine transformations |
| array of objects |