Use este ponto de extremidade para obter detalhes sobre a sua conta da 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"
}
Nome | Tipo | Descrição |
---|---|---|
id | int | ID da conta. |
make_renewal_calls | bool | Especifica se chamadas de renovação estão habilitadas. |
express_install_enabled | bool | Especifica se instalação expressa está habilitada. |
admin_email | string | Endereço(s) de e-mail copiado em todos os e-mails enviados para a conta. |
display_rep | bool | Especifica se o gerente da conta é exibido na UI da CertCentral. |
rep_name | string | Nome do seu gerente de contas. |
rep_phone | string | Número de telefone do seu gerente de contas. |
rep_email | string | Endereço de e-mail do seu gerente de contas. |
balance_negative_limit | int | Valor em dólar que o saldo da conta pode entrar em negativo. |
pricing_model | string |
Modelo de preço atual para a conta. Valores possíveis: flatfee , percert , combined , none
|
cert_transparency | string |
Especifica se certificados serão registrados em registros públicos de CT. Valores possíveis: embed (registrado), off (não registrado)
|
cert_central_type | string |
Tipo de conta da CertCentral. Valores possíveis: retail , enterprise , reseller
|