Skip to content

Commit d04291b

Browse files
rculpepperschavis
andcommitted
Apply suggestions from code review
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
1 parent ed94a76 commit d04291b

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

content/vault/v1.21.x (rc)/content/api-docs/system/billing-pki-certificate-count.mdx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,31 @@
22
layout: api
33
page_title: /sys/billing/certificates - HTTP API
44
description: >-
5-
The `/sys/billing/certificates` endpoint is used to return data about the number of PKI certificates issued by Vault.
5+
Use the `/sys/billing/certificates` endpoint to fetch data about the number of PKI certificates issued by Vault.
66
---
77

88
`# /sys/billing/certificates`
99

10-
The `/sys/billing/certificates` endpoint is used to return data about the number of PKI certificates issued by Vault.
11-
It returns information for the entire cluster.
10+
Use the `/sys/billing/certificates` endpoint to fetch data about the
11+
number of PKI certificates issued by Vault. for a cluster.
1212

1313
## PKI Certificate Counts
1414

15-
This endpoint returns the number of PKI certificates issued by Vault in each month of the given time range.
16-
If there are no counts for a given month, an error will be returned for that month.
15+
The Certificate Counts endpoint returns the number of PKI certificates issued by Vault, or an error, for each month of the given time range.
1716

1817
| Method | Path |
1918
| :----- | :-------------------------- |
2019
| `GET` | `/sys/billing/certificates` |
2120

22-
### Request Parameters
21+
### Request parameters
2322

2423
- `start_time` `(string: <required>)` - The first month for which to return certificate counts.
2524
The time must be a timestamp in RFC 3339 format (e.g., `2025-01-01T00:00:00Z` for January 2025).
2625

2726
- `end_time` `(string: <required>)` - The last month for which to return certificate counts. The `end_time` must not be before the `start_time`.
2827
The time must be a timestamp in RFC 3339 format (e.g., `2025-01-01T00:00:00Z` for January 2025).
2928

30-
### Sample Payload
29+
### Sample payload
3130

3231
```json
3332
{

0 commit comments

Comments
 (0)