extends |
AbstractNamespace |
---|
Class SecurityNamespace
NOTE: This file is autogenerated using util/GenerateEndpoints.php
Methods | ||||
---|---|---|---|---|
public
|
authinfo(array $params = []): array
Returns the authentication information.
Returns the authentication information. $params['auth_type'] = (string) The type of current authentication request. $params['verbose'] = (boolean) Indicates whether a verbose response should be returned. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
authtoken(array $params = []): array
Returns the authorization token.
Returns the authorization token. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
cache(array $params = []): array
Not supported for cache API.
Not supported for cache API. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
configUpgradeCheck(array $params = []): array
Check whether or not an upgrade can be performed and what resources can be updated.
Check whether or not an upgrade can be performed and what resources can be updated. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
configUpgradePerform(array $params = []): array
Helps cluster operator upgrade missing defaults and stale default definitions.
Helps cluster operator upgrade missing defaults and stale default definitions. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
createAllowlist(array $params = []): array
Creates or replaces the permitted APIs. Accessible using Super Admin certificate or REST API permission.
Creates or replaces the permitted APIs. Accessible using Super Admin certificate or REST API permission. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
createUpdateTenancyConfig(array $params = []): array
Creates or replaces the multi-tenancy configuration. Only accessible to admins and users with REST API permissions.
Creates or replaces the multi-tenancy configuration. Only accessible to admins and users with REST API permissions. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
createUserLegacy(array $params = []): array
Creates or replaces the specified user. Legacy API.
Creates or replaces the specified user. Legacy API. $params['username'] = (string) The name of the user to be created. (Required) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
deleteActionGroup(array $params = []): array
Delete a specified action group.
Delete a specified action group. $params['action_group'] = (string) The name of the action group to delete. (Required) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
deleteDistinguishedName(array $params = []): array
Deletes all distinguished names in the specified cluster or node allow list. Only accessible to super-admins and with…
Deletes all distinguished names in the specified cluster or node allow list. Only accessible to super-admins and with rest-api permissions when enabled. $params['cluster_name'] = (string) The cluster-name to delete from list of distinguished names. (Required) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
deleteRole(array $params = []): array
Delete the specified role.
Delete the specified role. $params['role'] = (string) The name of the role to delete. (Required) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
deleteRoleMapping(array $params = []): array
Deletes the specified role mapping.
Deletes the specified role mapping. $params['role'] = (string) The name of the role whose mapping needs to delete. (Required) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
deleteTenant(array $params = []): array
Delete the specified tenant.
Delete the specified tenant. $params['tenant'] = (string) The name of the tenant to delete. (Required) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
deleteUser(array $params = []): array
Delete the specified user.
Delete the specified user. $params['username'] = (string) The name of the user to delete. (Required) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
deleteUserLegacy(array $params = []): array
Delete the specified user. Legacy API.
Delete the specified user. Legacy API. $params['username'] = (string) The name of the user to delete. (Required) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
flushCache(array $params = []): array
Flushes the Security plugin user, authentication, and authorization cache.
Flushes the Security plugin user, authentication, and authorization cache. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
generateOboToken(array $params = []): array
Generates On-Behalf-Of token for the current user.
Generates On-Behalf-Of token for the current user. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
generateUserToken(array $params = []): array
Generates authorization token for the given user.
Generates authorization token for the given user. $params['username'] = (string) The name of the user for whom an auth token is to be vended. (Required) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
generateUserTokenLegacy(array $params = []): array
Generates authorization token for the given user. Legacy API. Not Implemented.
Generates authorization token for the given user. Legacy API. Not Implemented. $params['username'] = (string) The name of the user for whom an auth token is to be vended. (Required) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
getAccountDetails(array $params = []): array
Returns account details for the current user.
Returns account details for the current user. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
getActionGroup(array $params = []): array
Retrieves one action group.
Retrieves one action group. $params['action_group'] = (string) The name of the action group to retrieve. (Required) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
getAllCertificates(array $params = []): array
Retrieves the cluster security certificates.
Retrieves the cluster security certificates. $params['cert_type'] = (string) The type of certificates (HTTP, TRANSPORT, ALL) to retrieve from all nodes. $params['timeout'] = (string) The maximum duration, in seconds, to be spent to retrieve certificates from all nodes. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
getAllowlist(array $params = []): array
Retrieves the current list of allowed API accessible to normal user.
Retrieves the current list of allowed API accessible to normal user. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
getAuditConfiguration(array $params = []): array
Retrieves the audit configuration.
Retrieves the audit configuration. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
getCertificates(array $params = []): array
Retrieves the cluster security certificates.
Retrieves the cluster security certificates. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
getConfiguration(array $params = []): array
Returns the current Security plugin configuration in JSON format.
Returns the current Security plugin configuration in JSON format. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
getDashboardsInfo(array $params = []): array
Retrieves the current security-dashboards plugin configuration.
Retrieves the current security-dashboards plugin configuration. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
getDistinguishedName(array $params = []): array
Retrieves distinguished names. Only accessible to super-admins and with rest-api permissions when enabled.
Retrieves distinguished names. Only accessible to super-admins and with rest-api permissions when enabled. $params['cluster_name'] = (string) The cluster-name to retrieve nodes DN setting for. (Required) $params['show_all'] = (boolean) A boolean flag to include/exclude static nodes DN from final result. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
getNodeCertificates(array $params = []): array
Retrieves the given node's security certificates.
Retrieves the given node's security certificates. $params['node_id'] = (string) The full-id of the node to retrieve certificates. $params['cert_type'] = (string) The type of certificates (HTTP, TRANSPORT, ALL) to retrieve for a node. $params['timeout'] = (string) The maximum duration, in seconds, to be spent to retrieve a node's certificates. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
getPermissionsInfo(array $params = []): array
Gets the evaluated REST API permissions for the currently logged in user.
Gets the evaluated REST API permissions for the currently logged in user. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
getRole(array $params = []): array
Retrieves one role.
Retrieves one role. $params['role'] = (string) (Required) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
getRoleMapping(array $params = []): array
Retrieves one role mapping.
Retrieves one role mapping. $params['role'] = (string) (Required) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
getSslinfo(array $params = []): array
Retrieves the SSL configuration information.
Retrieves the SSL configuration information. $params['show_dn'] = (Array) A boolean flag to indicate whether all domain names should be returned. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
getTenancyConfig(array $params = []): array
Retrieves multi-tenancy configuration. Only accessible to admins and users with REST API permissions.
Retrieves multi-tenancy configuration. Only accessible to admins and users with REST API permissions. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
getTenant(array $params = []): array
Retrieves one tenant.
Retrieves one tenant. $params['tenant'] = (string) The name of the tenant to retrieve. (Required) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
getUser(array $params = []): array
Retrieve one internal user.
Retrieve one internal user. $params['username'] = (string) The name of the user to retrieve. (Required) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
getUserLegacy(array $params = []): array
Retrieve one user. Legacy API.
Retrieve one user. Legacy API. $params['username'] = (string) The name of the user to retrieve. (Required) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
getUsersLegacy(array $params = []): array
Retrieve all internal users. Legacy API.
Retrieve all internal users. Legacy API. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
health(array $params = []): array
Checks to see if the Security plugin is up and running.
Checks to see if the Security plugin is up and running. $params['mode'] = (string) A flag to indicate whether service should consider security-plugin's status before returning health response. Parameters
|
# | ||
public
|
migrate(array $params = []): array
Migrates security configuration from v6 to v7.
Migrates security configuration from v6 to v7. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
patchActionGroup(array $params = []): array
Updates individual attributes of an action group.
Updates individual attributes of an action group. $params['action_group'] = (string) The name of the action group to update. (Required) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
patchAllowlist(array $params = []): array
Updates the current list of allowed API accessible to normal user.
Updates the current list of allowed API accessible to normal user. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
patchAuditConfiguration(array $params = []): array
A PATCH call is used to update specified fields in the audit configuration.
A PATCH call is used to update specified fields in the audit configuration. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
patchConfiguration(array $params = []): array
A PATCH call is used to update the existing configuration using the REST API. Only accessible by admins and users with…
A PATCH call is used to update the existing configuration using the REST API. Only accessible by admins and users with rest api access and only when put or patch is enabled. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
patchDistinguishedName(array $params = []): array
Updates a distinguished cluster name for a specific cluster. Only accessible to super-admins and with rest-api…
Updates a distinguished cluster name for a specific cluster. Only accessible to super-admins and with rest-api permissions when enabled. $params['cluster_name'] = (string) The cluster-name to update nodesDn value. (Required) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
patchDistinguishedNames(array $params = []): array
Bulk update of distinguished names. Only accessible to super-admins and with rest-api permissions when enabled.
Bulk update of distinguished names. Only accessible to super-admins and with rest-api permissions when enabled. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
patchRole(array $params = []): array
Updates individual attributes of a role.
Updates individual attributes of a role. $params['role'] = (string) The name of the role to update. (Required) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
patchRoleMapping(array $params = []): array
Updates individual attributes of a role mapping.
Updates individual attributes of a role mapping. $params['role'] = (string) The name of the role to update role-mapping for. (Required) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
patchTenant(array $params = []): array
Add, delete, or modify a single tenant.
Add, delete, or modify a single tenant. $params['tenant'] = (string) The name of the tenant to update. (Required) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
patchUser(array $params = []): array
Updates individual attributes of an internal user.
Updates individual attributes of an internal user. $params['username'] = (string) The name of the user to update. (Required) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
postDashboardsInfo(array $params = []): array
Updates the current security-dashboards plugin configuration.
Updates the current security-dashboards plugin configuration. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
reloadHttpCertificates(array $params = []): array
Reload HTTP layer communication certificates.
Reload HTTP layer communication certificates. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
reloadTransportCertificates(array $params = []): array
Reload Transport layer communication certificates.
Reload Transport layer communication certificates. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
tenantInfo(array $params = []): array
Retrieves the tenant names if any exist. Only accessible to super admins or kibanaserver user.
Retrieves the tenant names if any exist. Only accessible to super admins or kibanaserver user. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
updateAuditConfiguration(array $params = []): array
Updates the audit configuration.
Updates the audit configuration. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
updateConfiguration(array $params = []): array
Adds or updates the existing configuration using the REST API. Only accessible by admins and users with rest api access…
Adds or updates the existing configuration using the REST API. Only accessible by admins and users with rest api access and only when put or patch is enabled. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
updateDistinguishedName(array $params = []): array
Adds or updates the specified distinguished names in the cluster or node allow list. Only accessible to super-admins…
Adds or updates the specified distinguished names in the cluster or node allow list. Only accessible to super-admins and with rest-api permissions when enabled. $params['cluster_name'] = (string) The cluster-name to create/update nodesDn value for. (Required) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
validate(array $params = []): array
Checks whether the v6 security configuration is valid and ready to be migrated to v7.
Checks whether the v6 security configuration is valid and ready to be migrated to v7. $params['accept_invalid'] = (boolean) A boolean flag to indicate whether invalid v6 configuration should be allowed. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
whoAmI(array $params = []): array
Gets the user identity related information for currently logged in user.
Gets the user identity related information for currently logged in user. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
whoAmIProtected(array $params = []): array
Gets the user identity related information for currently logged in user. User needs to have access to this endpoint…
Gets the user identity related information for currently logged in user. User needs to have access to this endpoint when authorization at REST layer is enabled. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false) $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true) $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false) $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-". Parameters
|
# | ||
public
|
changePassword(array $params = []): array
Changes the password for the current user.
Changes the password for the current user. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. $params['human'] = (boolean) Whether to return human readable values for statistics. $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Comma-separated list of filters used to reduce the response. $params['current_password'] = (string) The current password $params['password'] = (string) New password Parameters
|
# | ||
public
|
createActionGroup(array $params = []): array
Creates or replaces the specified action group.
Creates or replaces the specified action group. $params['action_group'] = (string) The name of the action group to create or replace. (Required) $params['allowed_actions'] = (array) list of allowed actions $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. $params['human'] = (boolean) Whether to return human readable values for statistics. $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Comma-separated list of filters used to reduce the response. Parameters
|
# | ||
public
|
createRoleMapping(array $params = []): array
Creates or replaces the specified role mapping.
Creates or replaces the specified role mapping. $params['role'] = (string) (Required) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. $params['human'] = (boolean) Whether to return human readable values for statistics. $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Comma-separated list of filters used to reduce the response. $params['backend_roles'] = (array) $params['hosts'] = (array) $params['users'] = (array) Parameters
|
# | ||
public
|
createRole(array $params = []): array
Creates or replaces the specified role.
Creates or replaces the specified role. $params['role'] = (string) (Required) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. $params['human'] = (boolean) Whether to return human readable values for statistics. $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Comma-separated list of filters used to reduce the response. $params['cluster_permissions'] = (array) $params['index_permissions'] = (array) $params['tenant_permissions'] = (array) Parameters
|
# | ||
public
|
createTenant(array $params = []): array
Creates or replaces the specified tenant.
Creates or replaces the specified tenant. $params['tenant'] = (string) The name of the tenant to create $params['description'] = (string) Description of the tenant $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. $params['human'] = (boolean) Whether to return human readable values for statistics. $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Comma-separated list of filters used to reduce the response. Parameters
|
# | ||
public
|
createUser(array $params = []): array
Creates or replaces the specified user.
Creates or replaces the specified user. $params['username'] = (string) (Required) $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. $params['human'] = (boolean) Whether to return human readable values for statistics. $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Comma-separated list of filters used to reduce the response. $params['password'] = (string) $params['opendistro_security_roles'] = (array) $params['backend_roles'] = (array) $params['attributes'] = (array) Parameters
|
# | ||
public
|
deleteDistinguishedNames(array $params = [])
Proxy function to deleteDistinguishedNames() to prevent BC break.
This API will be removed in a future version. Use …
Proxy function to deleteDistinguishedNames() to prevent BC break. This API will be removed in a future version. Use 'deleteDistinguishedName' API instead. |
# | ||
public
|
getAccount(array $params = [])
Proxy function to getAccount() to prevent BC break.
This API will be removed in a future version. Use …
Proxy function to getAccount() to prevent BC break. This API will be removed in a future version. Use 'getAccountDetails' API instead. |
# | ||
public
|
getActionGroups(array $params = []): array
Retrieves all action groups.
If 'action_group' is provided in $params, calls 'getActionGroup'.
Retrieves all action groups. If 'action_group' is provided in $params, calls 'getActionGroup'. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. $params['human'] = (boolean) Whether to return human readable values for statistics. $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Comma-separated list of filters used to reduce the response. Parameters
|
# | ||
public
|
getConfig(array $params = [])
Proxy function to getConfig() to prevent BC break.
This API will be removed in a future version. Use 'getConfiguration'…
Proxy function to getConfig() to prevent BC break. This API will be removed in a future version. Use 'getConfiguration' API instead. |
# | ||
public
|
getDistinguishedNames(array $params = []): array
Retrieves distinguished names. Only accessible to super-admins and with rest-api permissions when enabled.
If 'cluster…
Retrieves distinguished names. Only accessible to super-admins and with rest-api permissions when enabled. If 'cluster_name' is provided in $params, calls GetDistinguishedName. $params['cluster_name'] = (string) Name of the cluster. $params['show_all'] = (boolean) Show all DN. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. $params['human'] = (boolean) Whether to return human readable values for statistics. $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Comma-separated list of filters used to reduce the response. Parameters
|
# | ||
public
|
getRoleMappings(array $params = []): array
Retrieves role mappings. Only accessible to super-admins and with rest-api permissions when enabled.
If 'role' is…
Retrieves role mappings. Only accessible to super-admins and with rest-api permissions when enabled. If 'role' is provided in $params, calls GetRoleMapping. $params['role'] = (string) Name of the role. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. $params['human'] = (boolean) Whether to return human readable values for statistics. $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Comma-separated list of filters used to reduce the response. Parameters
|
# | ||
public
|
getRoles(array $params = []): array
Retrieves roles. Only accessible to super-admins and with rest-api permissions when enabled.
If 'role' is provided in …
Retrieves roles. Only accessible to super-admins and with rest-api permissions when enabled. If 'role' is provided in $params, calls getRole. $params['role'] = (string) Name of the role. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. $params['human'] = (boolean) Whether to return human readable values for statistics. $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Comma-separated list of filters used to reduce the response. Parameters
|
# | ||
public
|
getTenants(array $params = []): array
Retrieves tenants. Only accessible to super-admins and with rest-api permissions when enabled.
If 'tenant' is provided…
Retrieves tenants. Only accessible to super-admins and with rest-api permissions when enabled. If 'tenant' is provided in $params, calls GetTenant. $params['tenant'] = (string) Name of the tenant. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. $params['human'] = (boolean) Whether to return human readable values for statistics. $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Comma-separated list of filters used to reduce the response. Parameters
|
# | ||
public
|
getUsers(array $params = []): array
Retrieve all internal users.
If 'username' is provided in $params, calls 'getUser'.
Retrieve all internal users. If 'username' is provided in $params, calls 'getUser'. $params['username'] = (string) The username of the user to fetch, omit to fetch all (optional). $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. $params['human'] = (boolean) Whether to return human readable values for statistics. $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Comma-separated list of filters used to reduce the response. Parameters
|
# | ||
public
|
patchActionGroups(array $params = []): array
Creates, updates, or deletes multiple action groups in a single call.
If 'action_group' is provided in $params, calls…
Creates, updates, or deletes multiple action groups in a single call. If 'action_group' is provided in $params, calls patchActionGroup. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. $params['human'] = (boolean) Whether to return human readable values for statistics. $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Comma-separated list of filters used to reduce the response. Parameters
|
# | ||
public
|
patchConfig(array $params = [])
Proxy function to patchConfig() to prevent BC break.
This API will be removed in a future version. Use …
Proxy function to patchConfig() to prevent BC break. This API will be removed in a future version. Use 'patchConfiguration' API instead. |
# | ||
public
|
patchRoleMappings(array $params = []): array
Creates or updates multiple role mappings in a single call.
If 'role' is provided in $params, calls patchRoleMappings.
Creates or updates multiple role mappings in a single call. If 'role' is provided in $params, calls patchRoleMappings. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. $params['human'] = (boolean) Whether to return human readable values for statistics. $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Comma-separated list of filters used to reduce the response. Parameters
|
# | ||
public
|
patchRoles(array $params = []): array
Creates, updates, or deletes multiple roles in a single call.
If 'role' is provided in $params, calls patchRole.
Creates, updates, or deletes multiple roles in a single call. If 'role' is provided in $params, calls patchRole. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. $params['human'] = (boolean) Whether to return human readable values for statistics. $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Comma-separated list of filters used to reduce the response. Parameters
|
# | ||
public
|
patchTenants(array $params = []): array
Add, delete, or modify multiple tenants in a single call.
If 'tenant' is provided in $params, calls 'patchTenant'.
Add, delete, or modify multiple tenants in a single call. If 'tenant' is provided in $params, calls 'patchTenant'. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. $params['human'] = (boolean) Whether to return human readable values for statistics. $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Comma-separated list of filters used to reduce the response. Parameters
|
# | ||
public
|
patchUsers(array $params = []): array
Creates, updates, or deletes multiple internal users in a single call.
If 'username' is provided in $params, calls…
Creates, updates, or deletes multiple internal users in a single call. If 'username' is provided in $params, calls patchUser. $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. $params['human'] = (boolean) Whether to return human readable values for statistics. $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests. $params['filter_path'] = (any) Comma-separated list of filters used to reduce the response. Parameters
|
# | ||
public
|
updateConfig(array $params = [])
Proxy function to updateConfig() to prevent BC break.
This API will be removed in a future version. Use …
Proxy function to updateConfig() to prevent BC break. This API will be removed in a future version. Use 'updateConfiguration' API instead. |
# | ||
public
|
updateDistinguishedNames(array $params = [])
Proxy function to updateDistinguishedNames() to prevent BC break.
This API will be removed in a future version. Use …
Proxy function to updateDistinguishedNames() to prevent BC break. This API will be removed in a future version. Use 'updateDistinguishedName' API instead. |
# |
Methods inherited from OpenSearch\Namespaces\AbstractNamespace |
---|
__construct(), extractArgument(), performRequest() |
Properties inherited from OpenSearch\Namespaces\AbstractNamespace |
---|
$transport, $endpointFactory, $endpoints |