Edit in GitHubLog an issue

SDK Utilities

This page covers various utilities provided by the Adobe PDF Services SDKs, including operations such as refreshing download URIs, deleting assets, and streamline your workflows.

Important Note on Expiry

  • Asset Expiry : Assets uploaded to Adobe internal storage are transiently stored for 24 hours.

  • Pre-signed URI Expiry : The pre-signed URI provided for uploading or downloading the content has an expiry of 1 hour.

See our public API Reference for assets here.

Refresh Download URI

This function will create a new download URI for your asset. This is useful for scenarios where the asset needs to be downloaded after its URI has expired.

Copied to your clipboard
CreatePDFResult result = pdfServicesResponse.getResult();
Asset asset = result.getAsset();
// refresh the download URI in case it expires or is null for the uploaded asset
Asset refreshedAsset = pdfServices.refreshDownloadURI(asset);

Delete Asset

This function deletes an asset from Adobe internal storage. If you prefer not to store your asset on Adobe's storage, where assets are transiently stored for 24 hours, you can use this function to delete the asset immediately.

Copied to your clipboard
CreatePDFResult result = pdfServicesResponse.getResult();
Asset asset = result.getAsset();
// delete asset
pdfServices.deleteAsset(asset);
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.