manual:api:reference:token:object

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
manual:api:reference:token:object [2021/01/21 13:41]
talbergs created
manual:api:reference:token:object [2021/01/27 21:18] (current)
Line 8: Line 8:
  
 ^  Property ​ ^  [[:​manual/​api/​reference_commentary#​data_types|Type]] ​ ^  Description ​ ^ ^  Property ​ ^  [[:​manual/​api/​reference_commentary#​data_types|Type]] ​ ^  Description ​ ^
-| tokenid ​ | string ​ | //​(readonly)//​ ID of the token. ​ |+| tokenid ​ | string ​ | //​(readonly)//​ ID of the token. |
 | **name** \\ (required) | string | Name of the token. | | **name** \\ (required) | string | Name of the token. |
 | description | text | Description of the token. | | description | text | Description of the token. |
-| userid | string | //(readonly for update)// A user the token has been assigned to. \\ \\ //Default: current user. |+| userid | string | //(readonly for update)// A user the token has been assigned to. \\ \\ //Default: current user.// |
 | lastaccess | timestamp | //​(readonly)//​ Most recent date and time the token was authenticated. \\ \\ Zero if the token has never been authenticated. | | lastaccess | timestamp | //​(readonly)//​ Most recent date and time the token was authenticated. \\ \\ Zero if the token has never been authenticated. |
 | status | integer | Token status. \\ \\ Possible values: \\ 0 - //​(default)//​ enabled token; \\ 1 - disabled token. | | status | integer | Token status. \\ \\ Possible values: \\ 0 - //​(default)//​ enabled token; \\ 1 - disabled token. |