Deletes a chart namespace from an instance.
Operation description
Deleting a chart namespace also deletes all repositories and charts within it.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cr:DeleteNamespace |
delete |
*ChartNamespace
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. |
cri-xkx6vujuhay0**** |
| NamespaceName |
string |
Yes |
The name of the chart namespace to delete. |
ns2 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The return value. |
success |
| IsSuccess |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
| RequestId |
string |
The ID of the request. |
FEC62DF1-1394-467F-A69F-4BC1BA29F383 |
Examples
Success response
JSON format
{
"Code": "success",
"IsSuccess": true,
"RequestId": "FEC62DF1-1394-467F-A69F-4BC1BA29F383"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | SystemError | Unknown error. | |
| 403 | NoPrivilege | Access denied for this user. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.