Input | Output | ||
---|---|---|---|
Parameter Name | Base Type | Description | |
oauthConfigurations | JSON | Provide a valid JSON file with correct OAuth configuration settings for a connector. | Returns a message that states the successful completion or errors that occur during the execution of the service. |
Input | Output | ||
---|---|---|---|
Parameter Name | Base Type | Description | |
Connector config name | String | Provide a valid connector configuration value whose OAuth configuration settings you want to delete. | Returns a message that states the successful completion or errors that occur during the execution of the service. |
OAuth provider | String | Provide a valid OAuth provider for the specified connector. |
Input | Output | ||
---|---|---|---|
Parameter Name | Base Type | Description | |
– | – | - | Returns a JSON that provides the connector name and the OAuth provider name of all the OAuths loaded to the ThingWorx Flow server. |
Input | Output | ||
---|---|---|---|
Parameter Name | Base Type | Description | |
OAuth provider | String | Provide a valid OAuth provider for the third-party service or utility. | Returns a message that states the successful completion or errors that occur during the execution of the service. |
User Name | String | Provide the ThingWorx user name for whom you want to delete the generated access tokens for the specified OAuth provider. This field is optional. If you do not specify a user name, then the service deletes all OAuth access tokens for any user for the specified OAuth provider. |
After the service deletes the OAuth access token for an OAuth provider, the OAuth (Named User) connector appears with a icon on the ThingWorx Flow dashboard. |
Input | Output | ||
---|---|---|---|
Parameter Name | Base Type | Description | |
connectorName | String | Provide the connector name for a third-party service. | Returns a message that states the successful completion or errors that occur during the execution of the service. |
Input | Output | ||
---|---|---|---|
Parameter Name | Base Type | Description | |
– | – | – | Returns a message that states the successful completion or errors that occur during the execution of the service. |
Error Code | Error Message |
---|---|
[FLOW-CONFIG-01] | ThingWorx Flow is not enabled. Add the OrchestrationSettings section to the platform-settings.json file to enable ThingWorx Flow. |
[FLOW-RABBIT-01] | Failed to connect to RabbitMQ. Check whether the RabbitMQ service is running and is accessible. |
[FLOW-API-01] | Failed to connect to ThingWorx Flow. Check ThingWorx logs for more detail. |
[FLOW-API-02] | Failed to connect to ThingWorx Flow. Make sure that you are accessing ThingWorx over the ThingWorx Flow hostname and port once ThingWorx Flow has been installed. Otherwise, ThingWorx Flow and ThingWorx will not be able to communicate with each other. |
[FLOW-KEY-01] | OAuth admin key not found in the ThingWorx KeyStore. |
[FLOW-KEY-02] | Exchange admin key not found in the ThingWorx KeyStore. |
[FLOW-KEY-03] | Failed to get ThingWorx Flow keys from the ThingWorx KeyStore. |
[FLOW-KEY-04] | Failed to get ThingWorx Flow keys from the ThingWorx KeyStore. |
[FLOW-EXCHANGE-01] | Failed to connect to ThingWorx Flow exchange service. Check ThingWorx logs for more details. |
[FLOW-EXCHANGE-02] | Failed to connect to ThingWorx Flow exchange service. Check whether ThingWorx Flow exchange service is up and running. |
[FLOW-OAUTH-01] | Failed to connect to ThingWorx Flow OAuth service. Check ThingWorx logs for more details. |
[FLOW-OAUTH-02] | Failed to connect to ThingWorx Flow OAuth service. Check whether ThingWorx Flow OAuth service is up and running. |