> For the complete documentation index, see [llms.txt](https://docs.console.zenlayer.com/api-reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.console.zenlayer.com/api-reference/compute/vm/security-group.md).

# Security Group

<table><thead><tr><th data-type="content-ref">Operation</th><th>Description</th></tr></thead><tbody><tr><td><a href="/pages/cvrzBAelu4UuSV9bGpjz">/pages/cvrzBAelu4UuSV9bGpjz</a></td><td>Queries the details of one or more security groups</td></tr><tr><td><a href="/pages/zAcVVvt72be0qU4kx7mC">/pages/zAcVVvt72be0qU4kx7mC</a></td><td>Create a security group</td></tr><tr><td><a href="/pages/J5zyY71nTPmu4JC5O1ZM">/pages/J5zyY71nTPmu4JC5O1ZM</a></td><td>Modifies the information about security groups, such as the names</td></tr><tr><td><a href="/pages/AuvmwUCvkXriNjO3HUaC">/pages/AuvmwUCvkXriNjO3HUaC</a></td><td>Deletes a security group</td></tr><tr><td><a href="/pages/O5FkvNG8z8XS0JaKs0Ip">/pages/O5FkvNG8z8XS0JaKs0Ip</a></td><td>Configures full security group rules</td></tr><tr><td><a href="/pages/C2ivUono8Lo1xdIpbe2i">/pages/C2ivUono8Lo1xdIpbe2i</a></td><td>Removes security group rules</td></tr><tr><td><a href="/pages/1wavCMRgJ1X4VaGcNYkL">/pages/1wavCMRgJ1X4VaGcNYkL</a></td><td>Applies a security group on an instance</td></tr><tr><td><a href="/pages/kksq4ko9bswpBYdV3fcZ">/pages/kksq4ko9bswpBYdV3fcZ</a></td><td>Disassociates the security group from an instance</td></tr><tr><td><a href="/pages/msVkafCTNqGw6eclcM9x">/pages/msVkafCTNqGw6eclcM9x</a></td><td>Queries available security groups</td></tr><tr><td><a href="/pages/1x0qc0cnzgnutagMpsoD">/pages/1x0qc0cnzgnutagMpsoD</a></td><td>Adds security group rules</td></tr><tr><td><a href="/pages/jMhKZzEK0IhAFdT55DCS">/pages/jMhKZzEK0IhAFdT55DCS</a></td><td>Adds a security group rule</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.console.zenlayer.com/api-reference/compute/vm/security-group.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
