Skip to content

Commit bb2c72d

Browse files
committed
change parameter descriptions
1 parent d04291b commit bb2c72d

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,21 @@ number of PKI certificates issued by Vault. for a cluster.
1313
## PKI Certificate Counts
1414

1515
The Certificate Counts endpoint returns the number of PKI certificates issued by Vault, or an error, for each month of the given time range.
16+
By default, the endpoint returns data for the current billing period.
1617

1718
| Method | Path |
1819
| :----- | :-------------------------- |
1920
| `GET` | `/sys/billing/certificates` |
2021

2122
### Request parameters
2223

23-
- `start_time` `(string: <required>)` - The first month for which to return certificate counts.
24-
The time must be a timestamp in RFC 3339 format (e.g., `2025-01-01T00:00:00Z` for January 2025).
24+
- `start_time` `(string: "")` - The year and month indicating the first month of the
25+
query range in format `YYYY-MM`. The `start_time` is required if an `end_time` is provided.
2526

26-
- `end_time` `(string: <required>)` - The last month for which to return certificate counts. The `end_time` must not be before the `start_time`.
27-
The time must be a timestamp in RFC 3339 format (e.g., `2025-01-01T00:00:00Z` for January 2025).
27+
28+
- `end_time` `(string: "")` - The year and month indicating the last month of the
29+
query range in format `YYYY-MM`. The `end_time` is required if a `start_time`
30+
is provided.
2831

2932
### Sample payload
3033

0 commit comments

Comments
 (0)