OAuthRefreshTokenRequestBodySchema
Variable: OAuthRefreshTokenRequestBodySchema
constOAuthRefreshTokenRequestBodySchema:ZodMiniObject<{client_id:ZodMiniString<string>;client_secret:ZodMiniOptional<ZodMiniString<string>>;grant_type:ZodMiniLiteral<"refresh_token">;refresh_token:ZodMiniString<string>;scope:ZodMiniOptional<ZodMiniString<string>>; },$strip>
Defined in: v1/schemas/oauth.ts:132
Request body for exchanging a refresh token for a new access token.
Refresh tokens rotate on use - store the new refresh_token from the response and discard the old one. client_secret may be omitted if sent instead as HTTP Basic authentication.
- POST
/v1/oauth2/token