HP OneView REST API Reference

logindomains/global-settings
logindomains-global-settings.html[10/17/2013 10:36:05 AM]
login
The following example checks if local authentication is enabled
https://example.com/rest/logindomains/global-settings/allow-local-login
POST Enables or disables local user authentication
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
boolean Required Setting to enable or disable local user authentication
Response Description
AllowLocalLogin Returns local user authentication setting
Response Codes
REST API Response Codes
Examples
POST https://{appl}/rest/logindomains/global-settings/allow-local-
login
The following example enables local user authentication
https://example.com/rest/logindomains/global-
settings/allow-local-login
true
The following example disables local user authentication
https://example.com/rest/logindomains/global-
settings/allow-local-login
false
URI: /rest/{/login-domains/global-settings/default-login-domain, /logindomains/global-settings/default-
login-domain}
Method API
GET Retrieves the default directory used for authentication
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
LoginDomainConfigInfo Returns the default directory used for
authentication
Response Codes
REST API Response Codes