UpdateRolesRequestBaseRoleBindingDtoBaseRoleDto

UpdateRolesRequestBaseRoleBindingDtoBaseRoleDto
UpdateRolesRequestBaseRoleBindingDtoBaseRoleDto

Request body to update roles.

JSON Example
{
    "roleNamesToAdd": [
        "string"
    ],
    "rolesToAdd": [
        {
            "createdBy": "string",
            "lastUpdatedBy": "string",
            "name": "string",
            "lastUpdatedDate": "string",
            "expiresAt": 3609941597,
            "membershipType": "string",
            "resource": "string",
            "createdDate": "string"
        }
    ],
    "rolesToUpdate": [
        {
            "createdBy": "string",
            "lastUpdatedBy": "string",
            "name": "string",
            "lastUpdatedDate": "string",
            "expiresAt": 3609941597,
            "membershipType": "string",
            "resource": "string",
            "createdDate": "string"
        }
    ],
    "rolesToRemove": [
        {
            "name": "string",
            "resource": "string"
        }
    ],
    "roleNamesToRemove": [
        "string"
    ]
}
array of string
roleNamesToAdd
Optional

Deprecated: Role names to add (use rolesToAdd instead)

rolesToAdd
Optional

The roles to add.

rolesToUpdate
Optional

The roles to update.

rolesToRemove
Optional

The roles to remove.

array of string
roleNamesToRemove
Optional

Deprecated: Role names to remove (use rolesToRemove instead)