Update Role Definition
Updates an existing custom VCF role definition with new component roles and permissions. This operation allows modification of role assignments, descriptions, and component role mappings. Built-in roles cannot be updated, only custom roles are supported for updates.
Updated VCF role object containing modified role display name, description, and component roles
Show optional properties
{
"componentRoles": [
{
"componentType": "string",
"roles": [
{}
]
}
],
"roleName": "string"
}
"{\n \"roleName\" : \"custom-administrator\",\n \"roleDisplayName\" : \"multi-component-administrator\",\n \"roleDescription\" : \"Updated Multi-Component Administrator Role with permissions across multiple VCF components\",\n \"componentRoles\" : [ {\n \"componentType\" : \"VCENTER\",\n \"roles\" : [ \"Admin\" ]\n }, {\n \"componentType\" : \"NSX_MANAGER\",\n \"roles\" : [ \"network_engineer\" ]\n }, {\n \"componentType\" : \"VCF_AUTOMATION\",\n \"roles\" : [ \"System Administrator\" ]\n }, {\n \"componentType\" : \"VCF_ORCHESTRATOR\",\n \"roles\" : [ \"Orchestrator Administrator\" ]\n }, {\n \"componentType\" : \"HCX\",\n \"roles\" : [ \"System Administrator\" ]\n } ]\n}"
List of VCF Component Roles
Role creation timestamp
VCF Role Created By
VCF Role Description
VCF Display Role Name
VCF Role Name
VCF Role type
Role last updated timestamp
VCF Role Updated By
VCF role updated successfully
{
"componentRoles": [
{
"componentType": "string",
"roles": [
"string"
]
}
],
"createdAt": 0,
"createdBy": "string",
"roleDescription": "string",
"roleDisplayName": "string",
"roleName": "string",
"type": "string",
"updatedAt": 0,
"updatedBy": "string"
}
List of VCF Component Roles
Role creation timestamp
VCF Role Created By
VCF Role Description
VCF Display Role Name
VCF Role Name
VCF Role type
Role last updated timestamp
VCF Role Updated By
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"componentRoles":["object"],"roleName":"string"}' https://{api_host}/suite-api/api/fleet-management/iam/roles