All Products
Search
Document Center

Key Management Service:DeleteNetworkRule

Last Updated:Aug 15, 2025

Deletes a network control rule.

Operation description

  • For information about the access policy that is required to call this OpenAPI as a Resource Access Management (RAM) user or RAM role, see Resource Access Management.

  • Before deleting the network control rule, ensure that it is not attached to any access policies. Otherwise, related applications cannot access KMS as expected.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

Name

string

Yes

The name of the network control rule to delete.

networkrule_test

Response parameters

Parameter

Type

Description

Example

object

RequestId

string

The ID of the request. This ID is generated by Alibaba Cloud and is unique for each request. You can use it to troubleshoot issues.

3bf02f7a-015b-4f93-be0f-cc043fda2d4

Examples

Success response

JSON format

{
  "RequestId": "3bf02f7a-015b-4f93-be0f-cc043fda2d4"
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidParameter The specified parameter is not valid. An invalid value is specified for the parameter.
404 InvalidAccessKeyId.NotFound The Access Key ID provided does not exist in our records.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.