Documentation bug: Bulk add, delete and change roles mappings

Looking at the latest documentation:

https://docs.search-guard.com/latest/rest-api-roles-mapping

The PATCH example includes this entry:

{
“op”: “delete”, “path”: “/sg_management”
}

``

This should be:

{
“op”: “remove”, “path”: “/sg_management”
}

``

(“remove” instead of “delete”)

-Fred

Good catch, will update the docs asap.

···

On Thursday, March 21, 2019 at 5:50:48 PM UTC+1, Fred Drake wrote:

Looking at the latest documentation:

https://docs.search-guard.com/latest/rest-api-roles-mapping

The PATCH example includes this entry:

{
“op”: “delete”, “path”: “/sg_management”
}

``

This should be:

{
“op”: “remove”, “path”: “/sg_management”
}

``

(“remove” instead of “delete”)

-Fred