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
vmware.tanzu.manage.v1alpha1.cluster.namespace.TestNamespaceIAMPermissionsRequest of type(s) application/json
Required
{
"fullName": {
"orgId": "string",
"managementClusterName": "string",
"provisionerName": "string",
"clusterName": "string",
"name": "string"
},
"permissions": [
"string"
]
}
Responses
200
A successful response.
Returns vmware.tanzu.manage.v1alpha1.cluster.namespace.TestNamespaceIAMPermissionsResponse of type(s) */*
{
"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"
}
]
}
Namespace IAM Policy Operations
GET
Namespace IAM Policy Get
PATCH
Namespace IAM Policy Patch
POST
Namespace IAM Policy Test Permissions
PUT
Namespace IAM Policy Update