HP OneView REST API Reference

logindomains/global-settings
logindomains-global-settings.html[10/17/2013 10:36:05 AM]
default directory, enabling local login, and the configured directories. NOTE: The configured
directories in the request are ignored.
Request Header Attributes Description
REST API Request Headers NOTE: The X-API-Version header is required for all APIs. For the
current release, this must be set to "X-API-Version:3"
Request Body Attributes Description
GlobalSettings Required
Response Description
GlobalSettings Returns the configured global settings
Response Codes
REST API Response Codes
Examples
POST https://{appl}/rest/logindomains/global-settings
The following example configures the global settings for the directory
with name myDirectory
https://example.com/authn/rest/logindomains/global-
settings
{
"allowLocalLogin":false,
"defaultLoginDomain":
{
"type":"LoginDomainConfigInfoDto",
"loginDomain":"4",
"name":"myDirectory"
}
}
URI: /rest/{/login-domains/global-settings/allow-local-login, /logindomains/global-settings/allow-local-
login}
Method API
GET Checks if local authentication is enabled.
Request
Header
Attributes Description
REST API Request Headers NOTE: The X-API-Version header is required for all APIs. For the
current release, this must be set to "X-API-Version:3"
Response Description
AllowLocalLogin Returns the status of local authentication setting
Response Codes
REST API Response Codes
Examples
GET https://
{appl}
/rest/logindomains/global-settings/allow-local-