Update Authentication Policy Properties
Update the currently configured authentication policy on the node. If any of api_max_auth_failures, api_failed_auth_reset_period, or api_failed_auth_lockout_period are modified, the http service is automatically restarted.
Request
URI
PUT
https://nsxmanager.your.domain/api/v1/node/aaa/auth-policy
COPY
Request Body
AuthenticationPolicyProperties of type(s) application/json
Required
This request body class requires all of the following: Resource , InlineAuthenticationPolicyProperties1
{
"_self": {
"action": "string",
"href": "string",
"rel": "string"
},
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_schema": "string",
"api_failed_auth_reset_period": 0,
"minimum_password_length": 0,
"cli_failed_auth_lockout_period": 0,
"api_max_auth_failures": 0,
"api_failed_auth_lockout_period": 0,
"cli_max_auth_failures": 0
}
Responses
200
OK
Returns AuthenticationPolicyProperties of type(s) application/json
This response body class contains all of the following: Resource , InlineAuthenticationPolicyProperties1
{
"_self": {
"action": "string",
"href": "string",
"rel": "string"
},
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_schema": "string",
"api_failed_auth_reset_period": 0,
"minimum_password_length": 0,
"cli_failed_auth_lockout_period": 0,
"api_max_auth_failures": 0,
"api_failed_auth_lockout_period": 0,
"cli_max_auth_failures": 0
}
202
Accepted
Returns AuthenticationPolicyProperties of type(s) application/json
This response body class contains all of the following: Resource , InlineAuthenticationPolicyProperties1
{
"_self": {
"action": "string",
"href": "string",
"rel": "string"
},
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_schema": "string",
"api_failed_auth_reset_period": 0,
"minimum_password_length": 0,
"cli_failed_auth_lockout_period": 0,
"api_max_auth_failures": 0,
"api_failed_auth_lockout_period": 0,
"cli_max_auth_failures": 0
}
400
Returns BadRequest of type(s) application/json
This response body class contains all of the following: RelatedApiError , InlineApiError1
{
"module_name": "string",
"error_message": "string",
"error_code": 0,
"details": "string",
"related_errors": [
{
"module_name": "string",
"error_message": "string",
"error_code": 0,
"details": "string"
}
]
}
403
Returns Forbidden of type(s) application/json
This response body class contains all of the following: RelatedApiError , InlineApiError1
{
"module_name": "string",
"error_message": "string",
"error_code": 0,
"details": "string",
"related_errors": [
{
"module_name": "string",
"error_message": "string",
"error_code": 0,
"details": "string"
}
]
}
404
Returns NotFound of type(s) application/json
This response body class contains all of the following: RelatedApiError , InlineApiError1
{
"module_name": "string",
"error_message": "string",
"error_code": 0,
"details": "string",
"related_errors": [
{
"module_name": "string",
"error_message": "string",
"error_code": 0,
"details": "string"
}
]
}
412
Returns PreconditionFailed of type(s) application/json
This response body class contains all of the following: RelatedApiError , InlineApiError1
{
"module_name": "string",
"error_message": "string",
"error_code": 0,
"details": "string",
"related_errors": [
{
"module_name": "string",
"error_message": "string",
"error_code": 0,
"details": "string"
}
]
}
500
Returns InternalServerError of type(s) application/json
This response body class contains all of the following: RelatedApiError , InlineApiError1
{
"module_name": "string",
"error_message": "string",
"error_code": 0,
"details": "string",
"related_errors": [
{
"module_name": "string",
"error_message": "string",
"error_code": 0,
"details": "string"
}
]
}
503
Returns ServiceUnavailable of type(s) application/json
This response body class contains all of the following: RelatedApiError , InlineApiError1
{
"module_name": "string",
"error_message": "string",
"error_code": 0,
"details": "string",
"related_errors": [
{
"module_name": "string",
"error_message": "string",
"error_code": 0,
"details": "string"
}
]
}