Loading

How to Get the List of All Client Applications Created by All Users in an Organisation

Udgivelsesdato: Mar 2, 2024
Opgave

GOAL

This article will provide details about extracting the list of client applications created in Anypoint Exchange by any user in the Organization (not just the Client Applications created by the user making the Query)
Trin

This can be achieved in 2 ways:

A) Through the UI:

Log in to Anypoint Platform account using Org Admin user > Navigate to API Manager > Select the "Client Applications" menu > Select "All clients" in the dropdown list.

B) Through an API call:

https://anypoint.mulesoft.com/exchange/portals/anypoint-platform/f1e97bc6-315a-4490-82a7-23abe036327a.anypoint-platform/api-platform-api/minor/2.0/console/method/%231740/
You need to use this call with your Master Org id, a bearer token for an Admin user, and the query parameter 'targetAdminSite' set to 'true'. This call will return every application (with pagination if more than the set limit) for this particular Anypoint Account.

The query parameter targetAdminSite MUST be set to true in order to get the Client ID and Secret. Without this query parameter, the same call will return all the Client Applications but not the Client ID and Secret (and other info).

The following curl command can be used to achieve the above:

curl --location --request GET 'https://anypoint.mulesoft.com/exchange/api/v2/organizations/<org-id>/applications?targetAdminSite=true' \
--header 'Authorization: Bearer Token'

Use the following KB to extract the Bearer Token: How to generate your Authorization Bearer token for Anypoint Platform

 

Vidensartikelnummer

001116455

 
Indlæser
Salesforce Help | Article