REST API - set

vcenter hvc management administrators: set

Sets the groups in the local sso group. Usage beyond VMware Cloud on AWS is not supported. Warning: This operation is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.

Request:

HTTP request

PUT https://{server}/rest/hvc/management/administrators

Request Body Structure:

{
    "group_names"[
        "string",
        "string"
    ]
}

Request Body Parameters:

Name Type Description
bold = required
group_names string[] Names the groups to be in the CloudAdminGroup Ex - [email protected] where xyz is the group name and abc.com is the domain name.

Response:

HTTP Status Code: 200

None

Errors:

HTTP Status Code Type Description
403 unauthorized If the user is not authorized.
500 error if the system reports an error while responding to the request.