Manage Asset Portal Resources

You can upload up to 100 resources to an asset portal. Attempting to add more will result in an error. You can delete resources to reduce the number and then add more up to the limit.

Only image resources can be uploaded to assset portals. Allowed image formats are: bmp, gif, ico, jpe, jpeg, jpg, png, svg, tif, tiff, or webp.

These examples show how to list, retrieve, and delete resources from an asset portal with the Exchange Experience API.


Log in to Anypoint Platform and get an authentication token. Begin every request with the header Authorization: bearer ACCESS_TOKEN.

-XPOST -d "username=YOUR_USERNAME&password=YOUR_PASSWORD" | \
jq -r ".access_token")

Using the API

To list all resources:

curl \
  -H 'Authorization: bearer YOUR_ACCESS_TOKEN'

To get a specific resource:

curl \
  -H 'Authorization: bearer YOUR_ACCESS_TOKEN'

To delete a specific resource:

 curl -X DELETE \ \
  -H 'Authorization: bearer YOUR_ACCESS_TOKEN'


groupId: The asset's groupId
assetId: The asset's assetId
version: The asset's version
resourceId: The resource file name.

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub
Give us your feedback!
We want to build the best documentation experience for you!
Help us improve with your feedback.
Take the survey!