The LCDN Content Control API

The LCDN Content Control API allows you to purge content deployed on an Aura Licensed CDN. Akamai’s LCDN offering allows you to deploy and operate your own content delivery network.

This API allows the CDN Operator or Content Provider to purge content from the LCDN. Purging removes outdated or unwanted content. Content can be purged one asset at a time, as a list of assets, or all assets within a directory using a wildcard. After an asset is purged, the first subsequent client request for the purged content results in a cache miss, and LCDN fetches a fresh copy from the origin server.

Who Should Use This API

This RESTful API allows the CDN Operator or Content Provider to configure and manage the following purge-related functions on the LCDN:

  • Purge cached content(s) of an origin from the LCDN by specifying a list of URI patterns

Getting Started

Before you use the LCDN Content Control API for the first time:

  • Contact your Akamai representative to enable it for your account.

  • A contentProviderId is given to the Content Provider.

  • The Content Provider must obtain an authorization token using one of the supported flows using the client_id/client_secret from the application created by the CDN Operator.

  • Review Get Started on tools that Akamai provides for all its APIs.

  • Before you begin any API operations, you must obtain and store the value of the Content Provider ID(s) (contentProviderId) that you need from the AMC GUI. Using this Content Provider ID, you can obtain the origin ID(s) (originId) from which you want to purge content.

To obtain Content Provider IDs and Origin IDs, follow these instructions:

  1. Log in to the AMC GUI using an account with LCDN Operator privileges.

    The default administrator account is co@domain-name, where domain-name specifies the domain assigned to the AMC. Use the password you configured when you installed and configured the AMC.

    The CDN Health dashboard opens.

  2. In the CDN Health dashboard, click Configure and under Content Delivery select Content Providers.

  3. In the Content Provider Management page, mouse over the name of a Content Provider to view the Content Provider ID.

  4. Store the value of the Content Provider IDs.

  5. To obtain a list of Origins associated with a particular Content Provider, please refer to the Content Delivery API documentation.

Last modified: 2/2/2018