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

9 lines
832 B
Markdown

# `SecurityBulkPutRoleRequest` [interface-SecurityBulkPutRoleRequest]
| Name | Type | Description |
| - | - | - |
| `body` | string | ({ [key: string]: any; } & { refresh?: never; roles?: never; }) | All values in `body` will be added to the request body. |
| `querystring` | { [key: string]: any; } & { refresh?: never; roles?: 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. |
| `roles` | Record<string, [SecurityRoleDescriptor](./SecurityRoleDescriptor.md)> | A dictionary of role name to RoleDescriptor objects to add or update |