Remove response code info from non-overview API docs (contd) (#7940)

Continues https://github.com/hashicorp/vault/pull/6459 and cleans up
some spots that should have been deleted, but due to markdown
formatting, weren't rendering anyway.

> Remove response code info from non-overview API docs as it can be
> misinterpreted and is always the same anyways.
This commit is contained in:
Clint 2019-12-02 12:07:46 -06:00 committed by Brian Kassouf
parent 46891998cc
commit 54a8b20875
7 changed files with 11 additions and 11 deletions

View File

@ -57,7 +57,7 @@ This is an unauthenticated endpoint.
| Method | Path |
| :--------------------------- | :--------------------- |
| `GET` | `/pki/ca(/pem)` | `200 application/binary` |
| `GET` | `/pki/ca(/pem)` |
### Sample Request
@ -82,7 +82,7 @@ This is an unauthenticated endpoint.
| Method | Path |
| :--------------------------- | :--------------------- |
| `GET` | `/pki/ca_chain` | `200 application/binary` |
| `GET` | `/pki/ca_chain` |
### Sample Request
@ -371,7 +371,7 @@ This is an unauthenticated endpoint.
| Method | Path |
| :--------------------------- | :--------------------- |
| `GET` | `/pki/crl(/pem)` | `200 application/binary` |
| `GET` | `/pki/crl(/pem)` |
### Sample Request

View File

@ -23,7 +23,7 @@ This endpoint creates or updates a key definition.
| Method | Path |
| :--------------------------- | :--------------------------------------------------------------------------------------------- |
| `POST` | `/totp/keys/:name` | if generating a key and exported is true: `200 application/json` else: `204 (empty body)` |
| `POST` | `/totp/keys/:name` |
### Parameters

View File

@ -15,7 +15,7 @@ This endpoint authorizes a control group request.
| Method | Path |
| :----------------------------- | :--------------------- |
| `POST` | `/sys/control-group/authorize` | `200 (application/json)` |
| `POST` | `/sys/control-group/authorize` |
### Parameters
@ -55,7 +55,7 @@ This endpoint checks the status of a control group request.
| Method | Path |
| :----------------------------- | :--------------------- |
| `POST` | `/sys/control-group/request` | `200 (application/json)` |
| `POST` | `/sys/control-group/request` |
### Parameters

View File

@ -19,8 +19,8 @@ Vault instance.
| Method | Path |
| :--------------------------- | :--------------------- |
| `HEAD` | `/sys/health` | `000 (empty body)` |
| `GET` | `/sys/health` | `000 application/json` |
| `HEAD` | `/sys/health` |
| `GET` | `/sys/health` |
The default status codes are:

View File

@ -66,7 +66,7 @@ This endpoint deletes a namespace at the specified path.
| Method | Path |
| :--------------------------- | :--------------------- |
| `DELETE` | `/sys/namespaces/:path` | `204 (empty body) ` |
| `DELETE` | `/sys/namespaces/:path` |
### Sample Request

View File

@ -287,7 +287,7 @@ along with the new nonce.
| Method | Path |
| :------------------------------------------ | :--------------------- |
| `DELETE` | `/sys/rekey-recovery-key/verify` | `200 (empty body)` |
| `DELETE` | `/sys/rekey-recovery-key/verify` |
### Sample Request

View File

@ -289,7 +289,7 @@ nonce.
| Method | Path |
| :----------------------------- | :--------------------- |
| `DELETE` | `/sys/rekey/verify` | `200 (empty body)` |
| `DELETE` | `/sys/rekey/verify` |
### Sample Request