Get Subscription
Returns the a subscription belonging to the user's org
The subscription
{
"id": "aa6ce24d-b38a-405b-a1ca-3ac0a79418bb",
"product_id": "VTAC_AAORG_CP",
"status": "ACTIVE",
"quotas": {
"applications": {
"limit": 25
}
},
"created_at": "2023-03-03T00:59:52.762Z",
"created_by": "Bitnami Secure Images",
"updated_at": "2023-03-03T00:59:52.762Z",
"updated_by": "Bitnami Secure Images",
"starts_at": "2023-03-03T00:59:52.762Z",
"ends_at": "2023-03-03T00:59:52.762Z"
}
Identifier of the subscription in CSP. Old subscriptions might have no CSP id.
Name of the product of the subscription: VTAC_AATEAM_CP, VTAC_AAORG_CP, VAC_FLEXIBLE, TNZ_ADV_TAC_CP, VAC_DEMO, TNZ_ADV_NSM_CP, INVALID_TNZ_ADV
Status of the subscription (ACTIVE, CREATED, EXPIRED, TERMINATED, ERROR, SUBMITTED, PENDING_EXPIRY, SUSPENDED)
Quotas for this subscription
Date of the creation of the subscription
User that created the subscription in Bitnami Secure Images
Date of the update of the subscription
User that updated the subscription in Bitnami Secure Images
Date of the start of the subscription
Date of the end of the subscription
The requesting user is not authorized to get a subscription
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit.",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/2217eb9c-f042-11eb-9a03-0242ac130003/msgs/abc"
}
The subscription is not found
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit.",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/2217eb9c-f042-11eb-9a03-0242ac130003/msgs/abc"
}
An internal server error object
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit.",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/2217eb9c-f042-11eb-9a03-0242ac130003/msgs/abc"
}
The server is temporarily unavailable
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit.",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/2217eb9c-f042-11eb-9a03-0242ac130003/msgs/abc"
}
curl -H 'Authorization: <value>' https://{api_host}/v1/subscriptions/{subscription_id}