Grant API access
Granting API access authorizes other applications to use a published API. This topic describes how to grant API access to an application.
Prerequisites
The API is published. For more information, see Publish an API.
An application is created. For more information, see Create an application.
The current account has workspace administrator permissions. For more information, see Manage workspace members.
Procedure
Log on to the Data Resource Platform console.
In the upper-left corner of the page, click the
icon and select Collaboration.In the top menu bar, click the
icon, select the target workspace, and click Asset Processing.In the navigation pane on the left, click the
icon and choose API Management > API List.Based on your requirements, you can authorize your application individually or in batches.
Single authorization: In the Actions column for the desired API, click Authorize.
Multiple APIs: Select the APIs to which you want to grant access. At the bottom of the page, choose Batch Operations > Grant Access.
In the dialog box that appears, select the application, set the authorization duration, and configure application throttling.
NoteYou cannot grant access to the application that owns the API.
You can grant access to multiple applications.
(Optional) To restrict access to specific API parameters, set the Value for the authorization filter.
NoteParameter filtering is available only for DataService Studio APIs. To use this feature, you must set Filter When Authorizing to Yes when you create the DataService Studio API.
Value: The values that are authorized for the application. Separate multiple values with a comma.
Enter the value codes for the parameters that you want to filter. You can obtain the value codes from the database.
After you configure the parameters, click OK.
After access is granted, you can find the API on the APIs Granted to Me or APIs Granted by Me tab. Click Authorization Details to view the authorization information.
NoteIn this context, Authorized APIs are the Authorized APIs for the account that is granted authorization.
The Outbound Authorized APIs are the Outbound Authorized APIs in the grantor account.
Related operations
View API operation logs: In the Actions column, click Log to view the API operation log details.