Provisioner IAM Policy Update

Provisioner IAM Policy Update

Update (overwrite) policy for a Provisioner - deleted if body is empty.

Request
URI
PUT
https://{api_host}/https://your_org.tmc.cloud.vmware.com/v1alpha1/managementclusters/{fullName.managementClusterName}/provisioners:iam/{fullName.name}
COPY
Path Parameters
string
fullName.managementClusterName
Required

Name of the ManagementCluster.

string
fullName.name
Required

Name of the provisioner. It must be unique within a management cluster.

Query Parameters
string
fullName.orgId
Optional

ID of Organization.


Request Body

Provisioner policy.

Required
{
    "meta": {
        "uid": "string",
        "generation": "string",
        "resourceVersion": "string",
        "creationTime": "string",
        "updateTime": "string",
        "description": "string",
        "parentReferences": [
            {
                "rid": "string",
                "uid": "string"
            }
        ]
    },
    "roleBindings": [
        {
            "role": "string",
            "subjects": [
                {
                    "name": "string",
                    "kind": "string"
                }
            ]
        }
    ]
}
Responses
200

A successful response.

{
    "policy": {
        "meta": {
            "uid": "string",
            "generation": "string",
            "resourceVersion": "string",
            "creationTime": "string",
            "updateTime": "string",
            "description": "string",
            "parentReferences": [
                {
                    "rid": "string",
                    "uid": "string"
                }
            ]
        },
        "roleBindings": [
            {
                "role": "string",
                "subjects": [
                    {
                        "name": "string",
                        "kind": "string"
                    }
                ]
            }
        ]
    }
}

default

An unexpected error response.

Returns grpc.gateway.runtime.Error of type(s) */*
{
    "error": "string",
    "code": 0,
    "message": "string",
    "details": [
        {
            "typeUrl": "string",
            "value": "string"
        }
    ]
}