RevokedBy

string

Contains a unique identifier used for the user that revoked this token.

Example

LastUsedAt

string

An ISO-8601 timestamp representation of entity last used date.

Example

ExpiresAt

string

An ISO-8601 timestamp representation of entity expiration date.

Example

RevokedAt

string

An ISO-8601 timestamp representation of entity revoked at date.

Example

PersonalAccessToken

object

Properties of a personal access token.

* Additional properties are NOT allowed.
idstring(uuid)requiredread-only

Contains a unique identifier used for this resource.

Example:5f9fd312-a987-4628-b4c5-bb4f4fddd5f7

user_idstring(uuid)requiredread-only

Contains a unique identifier used for a user.

Example:5f9fd312-a987-4628-b4c5-bb4f4fddd5f7

namestringrequired
statestringrequired

State of the personal access token.

Allowed values:ACTIVEREVOKEDEXPIRED

revoked_bystring(uuid)read-only

Contains a unique identifier used for the user that revoked this token.

Example:5f9fd312-a987-4628-b4c5-bb4f4fddd5f7

created_atstring(date-time)requiredread-only

An ISO-8601 timestamp representation of entity creation date.

Example:2022-11-04T20:10:06.927Z

updated_atstring(date-time)requiredread-only

An ISO-8601 timestamp representation of entity update date.

Example:2022-11-04T20:10:06.927Z

last_used_atstring(date-time)read-only

An ISO-8601 timestamp representation of entity last used date.

Example:2022-11-04T20:10:06.927Z

expires_atstring(date-time)requiredread-only

An ISO-8601 timestamp representation of entity expiration date.

Example:2022-11-04T20:10:06.927Z

revoked_atstring(date-time)read-only

An ISO-8601 timestamp representation of entity revoked at date.

Example:2022-11-04T20:10:06.927Z

Example