diff --git a/website/source/api/acl.html.md b/website/source/api/acl.html.md index 909ef412eeb..004f33a0c80 100644 --- a/website/source/api/acl.html.md +++ b/website/source/api/acl.html.md @@ -158,6 +158,14 @@ $ curl \ https://consul.rocks/v1/acl/update ``` +### Sample Response + +```json +{ + "ID": "adf4238a-882b-9ddc-4a9d-5b6758e4159e" +} +``` + ## Delete ACL Token This endpoint deletes an ACL token with the given ID. @@ -166,6 +174,8 @@ This endpoint deletes an ACL token with the given ID. | ------ | ---------------------------- | -------------------------- | | `PUT` | `/acl/destroy/:uuid` | `application/json` | +Even though the return type is application/json, the value is either true or false, indicating whether the delete succeeded. + The table below shows this endpoint's support for [blocking queries](/api/index.html#blocking-queries), [consistency modes](/api/index.html#consistency-modes), and @@ -188,6 +198,13 @@ $ curl \ https://consul.rocks/v1/acl/destroy/8f246b77-f3e1-ff88-5b48-8ec93abf3e05 ``` +### Sample Response + +```json +true +``` + + ## Read ACL Token This endpoint reads an ACL token with the given ID.