Skip to main content
Resource Center/Network Service/Network Service Operations/Security Group Operations
DELETESecurity Group OperationsSince 0.6SynchronousAuth Required

DeleteSecurityGroupRule

DeleteSecurityGroupRule

Execution Availability

Try It Out

Submit a mock request using the current auth context and example-driven inputs.

Request Inputs

Body Fields

  • ruleUuidsListRequired

    The UUID list of the security group rule.

  • systemTagsList

    Optional. The system tags.

  • userTagsList

    Optional. The user tags.

Responses

DELETE endpoints return an empty object on success, or a standard error structure on failure.

Success Response

{}

Error Response

{
  "error": {
    "code": "SYS.1001",
    "description": "A message or a operation timeout",
    "details": "Delete resource timeout after 300s"
  }
}

Endpoint

DELETE/zstack/v1/security-groups/rules?ruleUuids={ruleUuids}

/zstack/v1/security-groups/rules?ruleUuids={ruleUuids}

Operation ID

DeleteSecurityGroupRule

Permalink

Request Example

curl -X DELETE 'http://{host}/zstack/v1/security-groups/rules?ruleUuids={ruleUuids}' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"ruleUuids":["<ruleUuids>"],"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'

Response Example

200
{}

Change History

This API has no change history records yet.

View all change history