Skip to content

/cas/{id}/certificates

GET
/cas/{id}/certificates
curl --request GET \
--url 'https://pki.example.com/api/v1/cas/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/certificates?status=active&certificateType=server&limit=50&offset=0' \
--header 'Authorization: Bearer <token>'

List all certificates issued by a specific Certificate Authority

id
required
string format: uuid
status
string
Allowed values: active revoked expired

Filter by certificate status

certificateType
string
Allowed values: server client dual code_signing email

Filter by certificate type

search
string

Search by subject DN, serial number, or SANs

limit
integer
default: 50 >= 1 <= 100
offset
integer
0

Default Response

Media typeapplication/json
object
items
Array<object>
object
id
string format: uuid
caId
string format: uuid
subjectDn
string
serialNumber
string
certificateType
string
notBefore
string format: date-time
notAfter
string format: date-time
status
string
expiryStatus
string
Allowed values: active expired expiring_soon
sanDns
Array<string>
nullable
sanIp
Array<string>
nullable
sanEmail
Array<string>
nullable
createdAt
string format: date-time
pagination
object
total
integer
limit
integer
offset
integer
hasMore
boolean

Example

{
"items": [
{
"expiryStatus": "active"
}
]
}

Default Response

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
Array<object>
object
field
string
message
string

Example generated

{
"error": {
"code": "example",
"message": "example",
"details": [
{
"field": "example",
"message": "example"
}
]
}
}

Default Response

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
Array<object>
object
field
string
message
string

Example generated

{
"error": {
"code": "example",
"message": "example",
"details": [
{
"field": "example",
"message": "example"
}
]
}
}