The OAuth profiles API may be used to create an OAuth profile object. In conjunction with an OAuth application object, the OAuth profile object can be used to integrate Hybrid Data Pipeline as a client application for access to REST data stores (via the Autonomous REST Connector), Google Analytics, Google BigQuery, Microsoft Dynamics 365 apps, Salesforce-based data stores, and Snowflake.

The OAuth profile object contains the OAuth refresh and access tokens that Hybrid Data Pipeline uses to access resources in the data store. The OAuth profile object is associated with an OAuth application object. The availability of a profile object follows from the availability of the application object in a given Hybrid Data Pipeline tenant as describe in OAuth applications API.

To create and manage OAuth profile objects, the Hybrid Data Pipeline user must have data source permissions such as CreateDataSource (1), ViewDataSource (2), ModifyDataSource (3). and DeleteDataSource (4).

The following table lists the operations that can be performed with the OAuth profiles API.

Task Request URL
Retrieve OAuth profiles GET <myserver>:<port>/api/mgmt/oauthprofiles
Create an OAuth profile POST https://<myserver>:<port>/api/mgmt/oauthprofiles
Retrieve an OAuth profile GET https://<myserver>:<port>/api/mgmt/oauthprofiles/{id}
Update an OAuth profile PUT https://<myserver>:<port>/api/mgmt/oauthprofiles/{id}
Delete an OAuth profile DELETE https://<myserver>:<port>/api/mgmt/oauthprofiles/{id}
Retrieve statistics for an OAuth profile GET https://<myserver>:<port>/api/mgmt/oauthprofiles/{id}/stats