Delete Api Product Subscription
DELETE /obp/v7.0.0/management/api-product-subscriptions/API_PRODUCT_SUBSCRIPTION_ID
OBPv7.0.0-deleteApiProductSubscription Roles: CanDeleteApiProductSubscriptionAtOneBank(per bank) APIApi-Product-Subscription
Delete an Api Product Subscription and its attributes. A live subscription is cancelled first, so anything it granted to the Consumer is released. Prefer cancelling over deleting: a cancelled subscription is history.
The role is checked at the subscription's bank.
See here.
User Authentication is Required. The User must be logged in. The Application must also be authenticated.
URL Parameters:
API_PRODUCT_SUBSCRIPTION_ID: API_PRODUCT_SUBSCRIPTION_ID
JSON response body fields (0)
Possible errors (5)
- OBP-20001: User not logged in. Authentication is required!
- OBP-20006: User is missing one or more roles:
- OBP-30560: ApiProductSubscription not found. Please specify a valid value for API_PRODUCT_SUBSCRIPTION_ID.
- OBP-30567: Could not delete ApiProductSubscription.
- OBP-50000: Unknown Error.