--- title: "Add database to groups request parameters" slug: "add-database-to-groups-request-parameters" tags: ["Product Usage", "DS 10.x", "Database Security"] updated: 2026-09-10T15:20:21Z published: 2026-09-10T15:20:21Z canonical: "docs.trellix.com/add-database-to-groups-request-parameters" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Add database to groups request parameters Adds a database to database groups. | **Service** | add-db-to-group | | --- | --- | | **Permission** | Add DB to Group | | **Version** | 4.4.9 or later | | Parameter | Definition | | --- | --- | | HH$Id | Integer — The ID of the database to add to the groups | | HH$Groups | Comma-separated list of group names to add the database to groups | For example, in order to add a database with ID#10007000 to the groups DB-Group1 and DB-Group2, submit the request: `https://127.0.0.1:8443/xmlapi.svc?service=add-db-to-group&HH$Id=10007000&HH$Groups=DB-Group1,DB-Group2` > [!NOTE] > Note > > If a database group name contains the comma character (,) then the name must be URL encoded twice to make sure the comma character will not be considered as a separator. You can use an online URL encoder service, [www.urlencoder.org](/data-and-email/docs/www.urlencoder.org). For example, if the database group name is **test,more%test**, then after encoding it, the result is twice the input, for example, **test%252Cmore%2525test**.