---
title: "UserSubAdminGroups (Nextcloud)"
description: "Nextcloud User Sub Admin Groups"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/nextcloud/Nextcloud.Nextcloud.UserSubAdminGroups
original: https://documentation.invantive.eu/en/datamodels/nextcloud/Nextcloud.Nextcloud.UserSubAdminGroups
updated: 2026-11-10T15:26:07Z
license: https://documentation.invantive.eu/en/
---

# UserSubAdminGroups: Nextcloud Nextcloud User Sub Admin Groups

`insert` `REST`

- Catalog: `Nextcloud`
- Schema: `Nextcloud`
- Label: Nextcloud User Sub Admin Groups

Can retrieve data and change data using `insert`.

## Summary

Groups a user is a sub-administrator of, one row per user and group. Insert makes the user a sub-administrator of the group. A sub-administrator cannot be removed with a delete statement, for the same reason as in UserGroups: a row is identified by the user and the group together rather than by a single value.

## API Source

- Endpoint: `/ocs/v2.php/cloud/users/details?format=json&limit=100&offset=0`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Average access latency (ms) | 305 |
| Full scan rows per minute | 18,900 |

The result can be cached on the client.

## Table Columns

The columns of the table `UserSubAdminGroups` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `group_id` | `varchar2` | itgen_ncl_group_id | [x] | filters on the platform, writable | Identifier of the group the user is a sub-administrator of. Required on insert. |
| `user_id` | `varchar2` | itgen_ncl_user_id | [x] | filters on the platform, writable | Login name of the user. Required on insert, never a value it writes. |

