Use this endpoint to list product limits for a subaccount.
To set product limits for a subaccount, use the Set subaccount product.
curl -X GET \
'https://www.digicert.com/services/v2/account/subaccount/{{subaccount_id}}/product-limits' \
-H 'Content-Type: application/json' \
-H 'X-DC-DEVKEY: {{api_key}}'
import requests
url = "https://www.digicert.com/services/v2/account/subaccount/{{subaccount_id}}/product-limits"
payload = ""
headers = {
'X-DC-DEVKEY': "{{api_key}}",
'Content-Type': "application/json"
}
response = requests.request("GET", url, data=payload, headers=headers)
print(response.text)
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://www.digicert.com/services/v2/account/subaccount/{{subaccount_id}}/product-limits"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-DC-DEVKEY", "{{api_key}}")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
var request = require("request");
var options = { method: 'GET',
url: 'https://www.digicert.com/services/v2/account/subaccount/{{subaccount_id}}/product-limits',
headers:
{ 'Content-Type': 'application/json',
'X-DC-DEVKEY': '{{api_key}}' } };
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
{
"product_limits": [
{
"product_name_id": "ssl_dv_geotrust"
},
{
"product_name_id": "ssl_ev_securesite"
},
{
"product_name_id": "ssl_ev_securesite_multi_domain"
},
{
"product_name_id": "ssl_multi_domain"
},
{
"product_name_id": "ssl_plus"
},
{
"product_name_id": "ssl_securesite"
},
{
"product_name_id": "ssl_wildcard"
},
{
"product_name_id": "wildcard_dv_geotrust"
}
]
}
Name | Type | Description |
---|---|---|
product_limits | array | List of products enabled for the subaccount. |
.. product_name_id | string |
Product name ID. See Glossary – Product identifiers |