VercelToken
Defined in: user/user.ts:22
One API token as Vercel describes it. Times are milliseconds since the epoch.
Properties
Section titled “Properties”activeAt?
Section titled “activeAt?”
optionalactiveAt?:number
Defined in: user/user.ts:36
When the token was last used.
createdAt?
Section titled “createdAt?”
optionalcreatedAt?:number
Defined in: user/user.ts:34
When the token was made.
expiresAt?
Section titled “expiresAt?”
optionalexpiresAt?:number
Defined in: user/user.ts:32
When the token stops working, absent when it never does.
optionalid?:string
Defined in: user/user.ts:24
The token’s id (not its value).
optionalname?:string
Defined in: user/user.ts:26
The name the token was made with.
scopes?
Section titled “scopes?”
optionalscopes?:object[]
Defined in: user/user.ts:30
The teams the token reaches, when it is limited to some.
createdAt?
Section titled “createdAt?”
optionalcreatedAt?:number
expiresAt?
Section titled “expiresAt?”
optionalexpiresAt?:number
origin?
Section titled “origin?”
optionalorigin?:string
teamId?
Section titled “teamId?”
optionalteamId?:string
optionaltype?:string
optionaltype?:string
Defined in: user/user.ts:28
What kind of token it is (oauth2-token, personal-access-token, …).