Deletes an ingress.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:ManageCluster |
delete |
*Cluster
|
None | None |
Request syntax
DELETE /pop/v5/k8s/acs/k8s_ingress HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
No |
The ID of the Kubernetes cluster. |
5b2b4ab4-efbc-4a81-9c45-xxxxxxxxxxxxx |
| Namespace |
string |
No |
The namespace of the Kubernetes cluster. |
default |
| Name |
string |
No |
The name of the Ingress. The name can contain lowercase letters, digits, and hyphens (-). It must start with a lowercase letter but cannot end with a hyphen (-). The name can be up to 63 characters in length. |
my-ingress-rule |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
The HTTP status code that is returned. |
200 |
| Message |
string |
The message that is returned. |
success |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "success"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | Edas.errorcode.PermissionDenied.message | You are not authorized to perform the operation. | No permissions |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.