Update UAA password policy

Update UAA password policy
Update UAA password policy

Updates the password policy settings for UAA. These settings only apply when configured to use Internal authentication.

Request
URI
PUT
https://{opsmanager-installation}/api/v0/uaa/password_policy
COPY
Request Body
UaaPasswordPolicy of type(s) application/json
Required
{
    "password_policy": {
        "password_min_uppercase": "number",
        "password_min_lowercase": "number",
        "password_min_numeric": "number",
        "password_min_special": "number",
        "password_expires_after_months": "number",
        "password_min_length": "number"
    }
}
password_policy
Optional

password_policy

Responses
200

OK

Returns UaaPasswordPolicy of type(s) application/json
"UaaPasswordPolicy Object"
password_policy
Optional

password_policy


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"
        ]
    }
}

422

Unprocessable Content

Returns CommonErrors of type(s) application/json
{
    "errors": [
        "string"
    ]
}
array of string
errors
Required

errors


Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/api/v0/uaa/password_policy