A következő objektumok közvetlenül kapcsolódnak a „token” API-hoz.
A token objektum a következő tulajdonságokkal rendelkezik.
| Property | Type | Description |
|---|---|---|
| tokenid | string | (readonly) ID of the token. |
| name (required) |
string | Name 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. |
| 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. |
| expires_at | timestamp | Token expiration date and time. Zero for never-expiring tokens. |
| created_at | timestamp | (readonly) Token creation date and time. |
| creator_userid | string | (readonly) The creator user of the token. |
Vegye figyelembe, hogy egyes módszereknél (frissítés, törlés) a kötelező/választható paraméterkombináció eltérő.