MDM Data Tools for AI Agents > Using the MDM Data Tools for AI Agents recipe > Step 6. Create a managed API
  

Step 6. Create a managed API

In API Center, create a managed API from the published API, activate it, and enable OAuth 2.0 authentication. Then, share the operation endpoint URLs and OAuth access details with API consumers so that they can access the API operations.
  1. 1To create a managed API, perform the following steps:
    1. aOn the API Console page, click the Published APIs tab.
    2. bClick the Actions menu on the selected published API row and select Create a Managed API.
    3. cOptionally, enter a name for the managed API.
    4. dEnter the URL context as InfaMdmActions.
    5. The context name must be unique across the organization. API Center appends the context to the API URL.
    6. eClick Save to save the managed API.
  2. 2To activate the managed API, perform the following steps:
    1. aOn the API Console page, click the Managed APIs tab.
    2. bClick the Actions menu on the managed API row with a Created status and select Activate Managed API.
    3. API Center activates the managed API and creates endpoint URLs for each operation.
    4. cOn the Managed APIs tab, expand the activated managed API, and then click Copy under each operation's API Endpoint URL column. You'll need to share these URLs with API consumers.
  3. 3To create an OAuth 2.0 client and attach it to the managed API, perform the following steps:
    1. aClick Configuration > Authorization > Add OAuth 2.0 Client.
    2. bOn the Authentication tab, enter the name and password of the user, and then click Next.
    3. Note: The user name that you enter here must match with the allowed user name configured in the processes.
    4. cOn the Details tab, enter the client name and access token timeout, and then click Next.
    5. The timeout value can range between 5 and 1440 minutes.
    6. dClick Selected Resources, select the managed API that you created, and then click Next > Finish.
    7. The OAuth 2.0 client ID, client secret, and authorization header values are generated. Copy these details to share with API consumers. You can't copy these details after you exit the wizard.
  4. 4Share the operation endpoint URLs and OAuth access details with API consumers so that they can access the API operations.