Deletes policy instances in a Container Service for Kubernetes (ACK) cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cs:DeletePolicyInstance |
delete |
*Cluster
|
None | None |
Request syntax
DELETE /clusters/{cluster_id}/policies/{policy_name} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| cluster_id |
string |
Yes |
The cluster ID. |
c8155823d057948c69a**** |
| policy_name |
string |
Yes |
The name of the policy. |
ACKAllowedRepos |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instance_name |
string |
No |
The ID of the policy instance. |
allowed-repos-mqdsf |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| instances |
array |
A list of policy instances. |
|
|
string |
The policy instances that are deleted. |
[ "allowed-repos-kqxnc" ] |
Examples
Success response
JSON format
{
"instances": [
"[ \"allowed-repos-kqxnc\" ]"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.