이 엔드포인트를 사용하여 CertCentral 계정에 대한 상세 정보를 받습니다.
curl -X GET \
https://www.digicert.com/services/v2/account \
-H 'Content-Type: application/json' \
-H 'X-DC-DEVKEY: {{api_key}}'
import requests
url = "https://www.digicert.com/services/v2/account"
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"
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',
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);
});
{
"id": 112234,
"make_renewal_calls": true,
"express_install_enabled": false,
"admin_email": "notifications@digicert.com, will.smith@digicert.com",
"display_rep": true,
"rep_name": "Jane",
"rep_phone": "Smith",
"rep_email": "jane.smith@digicert.com",
"balance_negative_limit": 0,
"pricing_model": "flatfee",
"cert_transparency": "embed",
"cert_central_type": "retail"
}
이름 | 유형 | 설명 |
---|---|---|
id | int | 계정 ID입니다. |
make_renewal_calls | bool | 갱신 호출을 사용하는지 지정합니다. |
express_install_enabled | bool | 빠른 설치를 사용하는지 지정합니다. |
admin_email | string | 계정에 대해 보낸 모든 이메일을 참조로 받는 이메일 주소입니다. |
display_rep | bool | 고객 담당 관리자가 CertCentral UI에 표시되는지 지정합니다. |
rep_name | string | 고객 담당 관리자의 이름입니다. |
rep_phone | string | 고객 담당 관리자의 전화 번호입니다. |
rep_email | string | 고객 담당 관리자의 이메일 주소입니다. |
balance_negative_limit | int | 계정 잔액이 마이너스가 될 수 있는 미화 금액입니다. |
pricing_model | string |
계정에 대한 현재 가격 책정 모델입니다. 가능한 값: flatfee , percert , combined , none
|
cert_transparency | string |
인증서가 공개 CT 로그에 기록될 것인지 지정합니다. 가능한 값: embed (기록), off (기록하지 않음)
|
cert_central_type | string |
CertCentral 계정 유형입니다. 가능한 값: retail , enterprise , reseller
|