UserResponse
Fields
Section titled “Fields”| Field | Type | Required | Description and constraints |
|---|---|---|---|
id |
string (uuid) | Yes | |
username |
string | Yes | |
displayName |
string | Yes | |
email |
string or null | Yes | |
role |
Role | Yes | |
enabled |
boolean | Yes | |
mustChangePassword |
boolean | Yes | |
totpEnrolled |
boolean | Yes | |
mfaRequired |
boolean | Yes | |
mfaEnrollmentRequired |
boolean | Yes | |
createdAt |
string (date-time) | Yes | |
updatedAt |
string (date-time) | Yes | |
cameraAccess |
CameraAccessSummaryResponse | Yes | |
organizationId |
string (uuid) or null | Yes | |
authorizationRevision |
integer | Yes | minimum 1.0 |
Additional properties are rejected by this schema.
JSON schema
Section titled “JSON schema”{ "properties": { "id": { "type": "string", "format": "uuid", "title": "Id" }, "username": { "type": "string", "title": "Username" }, "displayName": { "type": "string", "title": "Displayname" }, "email": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Email" }, "role": { "$ref": "#/components/schemas/Role" }, "enabled": { "type": "boolean", "title": "Enabled" }, "mustChangePassword": { "type": "boolean", "title": "Mustchangepassword" }, "totpEnrolled": { "type": "boolean", "title": "Totpenrolled" }, "mfaRequired": { "type": "boolean", "title": "Mfarequired" }, "mfaEnrollmentRequired": { "type": "boolean", "title": "Mfaenrollmentrequired" }, "createdAt": { "type": "string", "format": "date-time", "title": "Createdat" }, "updatedAt": { "type": "string", "format": "date-time", "title": "Updatedat" }, "cameraAccess": { "$ref": "#/components/schemas/CameraAccessSummaryResponse" }, "organizationId": { "anyOf": [ { "type": "string", "format": "uuid" }, { "type": "null" } ], "title": "Organizationid" }, "authorizationRevision": { "type": "integer", "minimum": 1.0, "title": "Authorizationrevision" } }, "additionalProperties": false, "type": "object", "required": [ "id", "username", "displayName", "email", "role", "enabled", "mustChangePassword", "totpEnrolled", "mfaRequired", "mfaEnrollmentRequired", "createdAt", "updatedAt", "cameraAccess", "organizationId", "authorizationRevision" ], "title": "UserResponse"}