> Token object

The following objects are directly related to the token API.

Token

The token object has the following properties.

PropertyTypeDescription
tokenidstringID of the token.

Property behavior:
- read-only
- required for update operations
namestringName of the token.

Property behavior:
- required for create operations
descriptiontextDescription of the token.
useridstringA user the token has been assigned to.

Default: current user.

Property behavior:
- constant
lastaccesstimestampMost recent date and time the token was authenticated.

“0” if the token has never been authenticated.

Property behavior:
- read-only
statusintegerToken status.

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

“0” for never-expiring tokens.
created_attimestampToken creation date and time.

Property behavior:
- read-only
creator_useridstringThe creator user of the token.

Property behavior:
- read-only