/dashboard/expiring
GET
/dashboard/expiring
const url = 'https://pki.example.com/api/v1/dashboard/expiring?limit=5';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://pki.example.com/api/v1/dashboard/expiring?limit=5' \ --header 'Authorization: Bearer <token>'Get items (CAs and certificates) expiring soonest
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”limit
integer
Maximum number of items to return
Responses
Section titled “Responses”Default Response
Media typeapplication/json
Array<object>
object
id
string
type
string
cn
string
san
string
notAfter
string format: date-time
daysRemaining
integer
Example generated
[ { "id": "example", "type": "example", "cn": "example", "san": "example", "notAfter": "2026-04-15T12:00:00Z", "daysRemaining": 1 }]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" } ] }}