> Token object

The following objects are directly related to the token API.

Token

The token object has the following properties.

PropertyTypeDescription
tokenidstring(readonly) ID of the token.
name
(required)
stringName of the token.
descriptiontextDescription of the token.
useridstring(readonly for update) A user the token has been assigned to.

Default: current user.
lastaccesstimestamp(readonly) Most recent date and time the token was authenticated.

Zero if the token has never been authenticated.
statusintegerToken status.

Possible values:
0 - (default) enabled token;
1 - disabled token.
expires_attimestampToken expiration date and time.

Zero for never-expiring tokens.
created_attimestamp(readonly) Token creation date and time.
creator_useridstring(readonly) The creator user of the token.