diff --git a/_security-plugin/access-control/api.md b/_security-plugin/access-control/api.md index b5b3e9d3..7634111b 100644 --- a/_security-plugin/access-control/api.md +++ b/_security-plugin/access-control/api.md @@ -1235,9 +1235,9 @@ GET _plugins/_security/api/nodesdn/ ``` -### Add distinguished names +### Update distinguished names -Adds the specified distinguished names to the cluster's or node's allow list. +Adds or updates the specified distinguished names in the cluster's or node's allow list. #### Request @@ -1259,17 +1259,6 @@ PUT _plugins/_security/api/nodesdn/ } ``` -If the specified cluster or node already has an allow list of distinguished names, the PUT request updates the list instead. - -#### Sample response - -```json -{ - "status": "OK", - "message": "'cluster7' updated." -} -``` - ### Delete distinguished names