Getting the authentication settings
Getting the authentication settings
Getting the authentication settings
Request
URI
GET
https://{opsmanager-installation}/api/v0/settings/authentication
COPY
Responses
200
OK
Returns
AuthenticationSetting
of type(s)
application/json
{
"rescue_mode": false,
"authentication": {
"identity_provider": "string",
"admin_user_name": "string",
"admin_password": "string"
}
}
boolean
rescue_mode
Optional
Indicates whether Ops Manager is currently in the unauthenticated rescue mode
authentication
Required
authentication
400
Setup is not completed
Returns
RequireSetupCompleted
of type(s)
application/json
{
"errors": {
"errors": [
"string"
]
}
}
401
Unauthorized
Returns
UnauthorizedResponse
of type(s)
application/json
{
"errors": {
"errors": [
"string"
]
}
}
403
Forbidden
Returns
ForbiddenResponse
of type(s)
application/json
{
"errors": {
"errors": [
"string"
]
}
}
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/api/v0/settings/authentication
Authentication Settings Operations
GET
Getting the authentication settings
PUT
Update the authentication settings