Skip to content

VercelToken

Defined in: user/user.ts:22

One API token as Vercel describes it. Times are milliseconds since the epoch.

optional activeAt?: number

Defined in: user/user.ts:36

When the token was last used.


optional createdAt?: number

Defined in: user/user.ts:34

When the token was made.


optional expiresAt?: number

Defined in: user/user.ts:32

When the token stops working, absent when it never does.


optional id?: string

Defined in: user/user.ts:24

The token’s id (not its value).


optional name?: string

Defined in: user/user.ts:26

The name the token was made with.


optional scopes?: object[]

Defined in: user/user.ts:30

The teams the token reaches, when it is limited to some.

optional createdAt?: number

optional expiresAt?: number

optional origin?: string

optional teamId?: string

optional type?: string


optional type?: string

Defined in: user/user.ts:28

What kind of token it is (oauth2-token, personal-access-token, …).