Files
elasticsearch-js/docs/reference/api/SecurityPutPrivilegesRequest.md
2025-05-28 10:02:30 -05:00

9 lines
817 B
Markdown

# `SecurityPutPrivilegesRequest` [interface-SecurityPutPrivilegesRequest]
| Name | Type | Description |
| - | - | - |
| `body` | string | ({ [key: string]: any; } & { refresh?: never; privileges?: never; }) | All values in `body` will be added to the request body. |
| `privileges` | Record<string, Record<string, [SecurityPutPrivilegesActions](./SecurityPutPrivilegesActions.md)>> | &nbsp; |
| `querystring` | { [key: string]: any; } & { refresh?: never; privileges?: never; } | All values in `querystring` will be added to the request querystring. |
| `refresh` | [Refresh](./Refresh.md) | If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. |