User OAuth Access Tokens

https://api.xata.io/user/oauth/tokens

this endpoint allows listing the valid access tokens on the current user's account

Get the List of User OAuth Access Tokens

GET
https://api.xata.io/user/oauth/tokens

Retrieve the list of valid OAuth Access Tokens on the current user's account

Responses

type GetUserOAuthAccessTokens = {
    accessTokens: OAuthAccessToken[];
};
 
type OAuthAccessToken = {
    token: string;
    scopes: string[];
    /**
     * @format date-time
     */
    createdAt: string;
    /**
     * @format date-time
     */
    updatedAt: string;
    /**
     * @format date-time
     */
    expiresAt: string;
    clientId: string;
};