Users: Nextcloud Nextcloud Users
insert update delete REST
- Catalog:
Nextcloud - Schema:
Nextcloud - Primary Keys:
user_id - Label: Nextcloud Users
Can retrieve data and change data using insert, update and delete.
Summary
Users of the Nextcloud server, one row per user. Requires an administrator; an ordinary user sees themselves only. Insert creates a user, update changes one column at a time, and delete removes the user.
API Source
- Endpoint:
/ocs/v2.php/cloud/users/details?format=json&limit=100&offset=0
Performance Characteristics
| Characteristic | Value |
|---|---|
| Average access latency (ms) | 307 |
| Full scan rows per minute | 369 |
The result can be cached on the client.
Table Columns
The columns of the table Users 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 |
|---|---|---|---|---|---|
address |
varchar2 |
itgen_ncl_address | filters on the platform, writable, address |
Address. | |
backend |
varchar2 |
itgen_ncl_backend | filters on the platform, backend |
Where the account is administered, such as Database or LDAP. | |
biography |
varchar2 |
itgen_ncl_biography | filters on the platform, writable, biography |
Biography of the profile. | |
can_ |
char |
itgen_ncl_can_set_display_name | filters on the platform, backend |
Whether the backend allows the display name to be changed. | |
can_ |
char |
itgen_ncl_can_set_password | filters on the platform, backend |
Whether the backend allows the password to be changed. | |
display_ |
varchar2 |
itgen_ncl_display_name | filters on the platform, writable, displayname |
Name shown to other users. | |
email |
varchar2 |
itgen_ncl_email | filters on the platform, writable, email |
Primary email address. | |
enabled |
char |
itgen_ncl_enabled | filters on the platform, writable, enabled |
Whether the user may log on. Written through a dedicated enable or disable route rather than a plain field update. | |
first_ |
datetime |
itgen_ncl_first_logon_date | filters on the platform, writable, first |
Moment the user logged on for the first time (UTC). Empty where the user never logged on. | |
headline |
varchar2 |
itgen_ncl_headline | filters on the platform, writable, headline |
Headline of the profile. | |
id |
varchar2 |
itgen_ncl_id | filters on the platform, id |
Identifier of the user as reported inside the user object. | |
language |
varchar2 |
itgen_ncl_language | filters on the platform, language |
Language of the user interface. | |
last_ |
datetime |
itgen_ncl_last_logon_date | filters on the platform, writable, last |
Moment the user logged on most recently (UTC). Empty where the user never logged on. | |
last_ |
datetime |
itgen_ncl_last_logon_date_ms | filters on the platform, writable, last |
Moment the user logged on most recently (UTC), as Nextcloud reports it in milliseconds beside the same value in seconds. Empty where the user never logged on. | |
locale |
varchar2 |
itgen_ncl_locale | filters on the platform, locale |
Locale used for formatting. | |
manager |
varchar2 |
itgen_ncl_manager | filters on the platform, manager |
Login name of the manager of the user. | |
notify_ |
varchar2 |
itgen_ncl_notify_email | filters on the platform, notify_ |
Address notifications are sent to when it differs from the primary one. | |
organisation |
varchar2 |
itgen_ncl_organisation | filters on the platform, writable, organisation |
Organisation. | |
password |
varchar2 |
itgen_ncl_password | filters on the platform, writable | Password of the user. Write-only: never answered on a read, accepted on insert and on update. | |
phone |
varchar2 |
itgen_ncl_phone | filters on the platform, writable, phone |
Telephone number. | |
profile_ |
varchar2 |
itgen_ncl_profile_enabled | filters on the platform, writable, profile_ |
Whether the profile is shown; answered as the text 0 or 1 rather than as a boolean, and written the same way. | |
pronouns |
varchar2 |
itgen_ncl_pronouns | filters on the platform, writable, pronouns |
Pronouns of the user as they stated them. | |
quota |
int64 |
itgen_ncl_quota | filters on the platform, writable, quota. |
Quota as configured, beside the effective total in quota_total_bytes. Writable in bytes, though Nextcloud does not list it among the fields it declares as writable. | |
quota_ |
int64 |
itgen_ncl_quota_free_bytes | filters on the platform, quota. |
Bytes still available; a negative number means unlimited or unknown. | |
quota_ |
decimal |
itgen_ncl_quota_relative | filters on the platform, quota. |
Percentage of the quota in use. | |
quota_ |
int64 |
itgen_ncl_quota_total_bytes | filters on the platform, quota. |
Effective quota in bytes, after any group-based override; a negative number means unlimited or unknown. Read-only - write through the quota column, which is the configured value. | |
quota_ |
int64 |
itgen_ncl_quota_used_bytes | filters on the platform, quota. |
Bytes in use. | |
role |
varchar2 |
itgen_ncl_role | filters on the platform, writable, role |
Role within the organisation. | |
storage_ |
varchar2 |
itgen_ncl_storage_location | filters on the platform, storage |
Folder on the server holding the files of the user. | |
timezone |
varchar2 |
itgen_ncl_timezone | filters on the platform, timezone |
Time zone of the user. | |
user_ |
varchar2 |
itgen_ncl_user_id | filters on the platform, writable | Login name of the user. Required on insert; the where clause of an update or delete, never a value either writes. | |
website |
varchar2 |
itgen_ncl_website | filters on the platform, writable, website |
Website. |