Enabling Role-Based Access Controls (RBAC)

Enabling Role-Based Access Controls (RBAC)
Enabling Role-Based Access Controls (RBAC)

Enable Role-Based Access Controls (RBAC) for Tanzu Ops Manager. Once Role Based Access Control has been enabled, the action cannot be undone. After enabling RBAC, only the Tanzu Ops Manager's Admin user will be able to log in. The admin user can then configure the access controls for other users.

Request
URI
POST
https://{opsmanager-installation}/api/v0/settings/rbac
COPY
Responses
200

OK

Returns EmptyResponse of type(s) application/json
Operation doesn't return any data structure

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 SingleErrorResponseVariant of type(s) application/json
{
    "error": "string"
}
string
error
Optional

error


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' https://{api_host}/api/v0/settings/rbac