Docs: Update Transform API (#17477)

- Correct some methods in sample requests
This commit is contained in:
Brian Shumate 2022-10-10 13:25:31 -04:00 committed by GitHub
parent a817eabc38
commit 5264783e6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -2059,8 +2059,6 @@ Only valid for tokenization transformations.
```shell-session
$ curl \
--header "X-Vault-Token: ..." \
--request LIST \
--data @payload.json \
http://127.0.0.1:8200/v1/transform/tokenization/keys/:transform_name
```
@ -2111,7 +2109,7 @@ Once trimmed, previous versions of the key cannot be recovered.
```shell-session
$ curl \
--header "X-Vault-Token: ..." \
--request LIST \
--request POST \
--data @payload.json \
http://127.0.0.1:8200/v1/transform//transform/tokenization/keys/:transform_name/trim
```