Fix the transit trim key api doc (#7453)

This commit is contained in:
Michael Gaffney 2019-09-18 09:29:58 -04:00 committed by GitHub
parent ba236306e2
commit fdc1274c70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 6 deletions

View File

@ -1229,11 +1229,12 @@ keyring. Once trimmed, previous versions of the key cannot be recovered.
### Parameters
- `min_version` `(int: <required>)` - The minimum version for the key ring. All
versions before this version will be permanently deleted. This value can at
most be equal to the lesser of `min_decryption_version` and
`min_encryption_version`. This is not allowed to be set when either
`min_encryption_version` or `min_decryption_version` is set to zero.
- `min_available_version` `(int: <required>)` - The minimum available version
for the key ring. All versions before this version will be permanently
deleted. This value can at most be equal to the lesser of
`min_decryption_version` and `min_encryption_version`. This is not allowed to
be set when either `min_encryption_version` or `min_decryption_version` is set
to zero.
### Sample Payload
@ -1312,4 +1313,4 @@ $ curl \
},
```
[sys-plugin-reload-backend]: /api/system/plugins-reload-backend.html#reload-plugins
[sys-plugin-reload-backend]: /api/system/plugins-reload-backend.html#reload-plugins