Namespace IAM Policy Test Permissions

Namespace IAM Policy Test Permissions

Tests permissions for a Namespace.

Request
URI
POST
https://{api_host}/https://your_org.tmc.cloud.vmware.com/v1alpha1/clusters/{fullName.clusterName}/namespaces:iam/{fullName.name}/testPermissions
COPY
Path Parameters
string
fullName.clusterName
Required

Name of Cluster.

string
fullName.name
Required

Name of Namespace.


Request Body
{
    "fullName": {
        "orgId": "string",
        "managementClusterName": "string",
        "provisionerName": "string",
        "clusterName": "string",
        "name": "string"
    },
    "permissions": [
        "string"
    ]
}
Responses
200

A successful response.

{
    "permissions": [
        "string"
    ],
    "uid": "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"
        }
    ]
}