Managing Plan Subscriptions

Applications subscribe to plans to be able to send requests to the APIs in the plan.

Understanding Plan Subscriptions

Subscriptions represent the relationship between an application and a plan.

To invoke an API that is entitled to plans, an application must be subscribed to a plan entitling that API. An application cannot subscribe to different plans that have entitlements to the same API.

When an application is subscribed to a plan with multiple API entitlements, it has access to all the APIs in the plan.

Viewing Plan Subscriptions

To view the subscriptions to a plan:
  1. From the Plans List page, click the plan for which you want to view subscriptions.
  2. Click the Subscriptions icon (Subscriptions) tab.
    The Subscriptions page appears. The applications with subscriptions to the plan are displayed.
From this page you can subscribe an application to a plan. You can also approve, reject, suspend, or reactivate application subscriptions to plans.

Subscribing a Plan to an Application

You can create a subscription from an application to a plan from the Plans List page.

You cannot subscribe an application to a plan if the application is already subscribed to a different plan that provides entitlements to the same API or APIs.
To subscribe an application to a plan:
  1. On the Plans List page, click the plan to which you want to subscribe an application.
  2. Click the Subscriptions icon (Subscriptions) tab.
  3. Click Subscribe Application.
  4. Select the application(s) you want to subscribe to the plan.
  5. Select an initial subscription state:
  6. Click Subscribe.
The application is subscribed to the plan.

Approving or Rejecting Plan Subscriptions

A Plan Manager can approve or reject a developer’s request to subscribe their application to a plan to get access to APIs entitled by the plan.

Approving the subscription allows an application to send requests to APIs that are entitled by the plan. Until the subscription is approved, or if the subscription is rejected, requests to these APIs are rejected.

To approve or reject an application’s subscription to a plan:

  1. From the Plans List page, click the application for which a developer has requested for subscription to a plan.
  2. Click the Subscriptions icon (Subscriptions) tab.
  3. Click the Requesting tab.
  4. Click the name of the application requesting a subscription.
  5. Click Approve to approve the subscription, Reject to reject the subscription, or Dismiss to dismiss the subscription.
  6. Optionally specify the reason for your action, and then click Yes to approve or No to reject the subscription.
Approved subscriptions appear on the Subscribed tab, while rejected subscriptions appear on the Rejected tab. Dismissed subscriptions are deleted.

Suspending Plan Subscriptions

You can temporarily suspend an application’s subscription to a plan. While the subscription is suspended, the requests from the application to the entitled APIs in the plan are rejected.

To suspend an application’s subscription to a plan:
  1. On the Plans List page, click the plan for which you want to suspend an applications’s subscription.
  2. Click the Subscriptions icon (Subscriptions) tab.
  3. Click the Subscribed tab on the Subscriptions page.
  4. Click the application for which you want to suspend the subscription.
  5. Click Suspend.
  6. Optionally specify the reason for suspending the subscription and then click Yes.
The application is no longer subscribed to the plan. The plan appears on the Suspended tab.
See Resuming a Suspended Plan Subscription to reactivate the subscription.

Resuming a Suspended Plan Subscription

You can resume an application’s suspended subscription to a plan.

To resume an application’s subscription to a plan:
  1. On the Plans List page, click the plan in which you want to resume an application’s subscription.
  2. Click the Subscriptions icon (Subscriptions) tab.
  3. Click the Suspended tab.
  4. Click the application for which you want to resume the subscription.
  5. Click Resume.
  6. Optionally, specify the reason for resuming the subscription and then click Yes.
The subscription of the application to the plan is resumed. The application appears on the Subscribed tab.

Unsuscribing a Plan

You can unsubscribe an application from a plan to remove its access to the APIs entitled by the plan.

When an application unsubscribes from a plan, Application Developers can no longer see the analytics data for the application in the plan in the API Platform Cloud Service Developer Portal.

To unsubscribe an application from a plan:
  1. On the Plans List page, click the plan from which you want to unsubscribe an application.
  2. Click the Subscriptions icon (Subscriptions) tab.
  3. Click the Subscribed tab. If the subscription is in the suspended state, click the Suspended tab.
  4. Click the application you want to unsubscribe from the plan.
  5. Click Unsubscribe.
  6. Click Yes in the banner to confirm.
The application is unsubscribed from the plan.