mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2025-10-03 01:39:31 +02:00
3.3 KiB
3.3 KiB
UpdatePrimaryDeviceRequest Schema
https://timelimit.io/UpdatePrimaryDeviceRequest
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | Yes | Unknown status | No | Forbidden | Forbidden | none | UpdatePrimaryDeviceRequest.schema.json |
UpdatePrimaryDeviceRequest Type
object
(UpdatePrimaryDeviceRequest)
UpdatePrimaryDeviceRequest Definitions
UpdatePrimaryDeviceRequest Properties
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
action | string |
Required | cannot be null | UpdatePrimaryDeviceRequest |
currentUserId | string |
Required | cannot be null | UpdatePrimaryDeviceRequest |
authToken | string |
Required | cannot be null | UpdatePrimaryDeviceRequest |
action
action
- is required
- Type:
string
- cannot be null
- defined in: UpdatePrimaryDeviceRequest
action Type
string
action Constraints
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"set this device" |
|
"unset this device" |
currentUserId
currentUserId
- is required
- Type:
string
- cannot be null
- defined in: UpdatePrimaryDeviceRequest
currentUserId Type
string
authToken
authToken
- is required
- Type:
string
- cannot be null
- defined in: UpdatePrimaryDeviceRequest
authToken Type
string