[comment]: # aside: 1

[comment]: # translation:outdated

[comment]: # ({f169fcba-3683e83d})
# Oggetto token

I seguenti oggetti sono direttamente correlati all'API `token`.

[comment]: # ({/f169fcba-3683e83d})

[comment]: # ({c11bffb1-e5e50206})
### Token

L'oggetto token ha le seguenti proprietà.

|Proprietà|[Tipo](/manual/api/reference_commentary#data-types)|Descrizione|
|--|--|------|
|tokenid|ID|ID del token.<br><br>[Comportamento della proprietà](/manual/api/reference_commentary#property-behavior):<br>- *sola lettura*<br>- *obbligatoria* per le operazioni di aggiornamento|
|name|string|Nome del token.<br><br>[Comportamento della proprietà](/manual/api/reference_commentary#property-behavior):<br>- *obbligatoria* per le operazioni di creazione|
|description|text|Descrizione del token.|
|userid|ID|ID dell'utente a cui è stato assegnato il token.<br><br>Predefinito: *utente corrente*.<br><br>[Comportamento della proprietà](/manual/api/reference_commentary#property-behavior):<br>- *costante*|
|lastaccess|timestamp|Data e ora più recenti in cui il token è stato autenticato.<br><br>"0" se il token non è mai stato autenticato.<br><br>[Comportamento della proprietà](/manual/api/reference_commentary#property-behavior):<br>- *sola lettura*|
|status|integer|Stato del token.<br><br>Valori possibili:<br>0 - token abilitato *(predefinito)*;<br>1 - token disabilitato.|
|expires\_at|timestamp|Data e ora di scadenza del token.<br><br>"0" per i token che non scadono mai.|
|created\_at|timestamp|Data e ora di creazione del token.<br><br>[Comportamento della proprietà](/manual/api/reference_commentary#property-behavior):<br>- *sola lettura*|
|creator\_userid|ID|ID dell'utente che ha creato il token.<br><br>[Comportamento della proprietà](/manual/api/reference_commentary#property-behavior):<br>- *sola lettura*|

[comment]: # ({/c11bffb1-e5e50206})
