Get Domain Certificates
GET
/v1/environments/{id}/domains/{domainId}/certificatesGet all certificates linked to a domain in an environment.
Request
Path Params
id
string
required
domainId
string
required
Header Params
Accept
string
required
Example:
application/json
Content-Type
string
required
Example:
application/json
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
array [object {3}]
required
id
integer
required
type
string
required
attributes
object
required
links
object
required
first
string
required
last
string
required
prev
null
required
next
null
required
meta
object
required
current_page
integer
required
from
integer
required
last_page
integer
required
links
array [object {3}]
required
path
string
required
per_page
integer
required
to
integer
required
total
integer
required
Example
{
"data": [
{
"id": 102,
"type": "certificateOrder",
"attributes": {
"customerId": 2004,
"sslId": 223,
"type": "SELF_SIGNED",
"status": "ACTIVE",
"domain": "domain1.com",
"isWildcard": false,
"isLinkable": true,
"isUsed": true,
"domains": [
{
"id": 2476,
"name": "domain1.com",
"boltId": 8944,
"environmentId": 1702
}
],
"autoRenew": true,
"dnsChallenges": [],
"expiresAt": "2025-05-06T15:49:41.000000Z"
}
},
{
"id": 96,
"type": "certificateOrder",
"attributes": {
"customerId": 2004,
"sslId": 217,
"type": "NAMECHEAP",
"status": "ACTIVE",
"domain": "domain2.com",
"isWildcard": false,
"isLinkable": true,
"isUsed": true,
"domains": [
{
"id": 2476,
"name": "domain2.com",
"boltId": 8944,
"environmentId": 1702
}
],
"autoRenew": true,
"dnsChallenges": [],
"expiresAt": "2025-04-19T23:59:59.000000Z"
}
}
],
"links": {
"first": "https://xxx/v1/environments/1702/domains/2476/certificates?page=1",
"last": "https://xxx/v1/environments/1702/domains/2476/certificates?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://xxx/v1/environments/1702/domains/2476/certificates?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "https://xxx/v1/environments/1702/domains/2476/certificates",
"per_page": 15,
"to": 2,
"total": 2
}
}
Last modified: 6 months ago