Get User Scopes
Retrieves all accessible scopes for the authenticated user, such as personal workspaces or shared teams.
GET /user/scopes
Response
Response Body
object string Required
data any[] Required
Array items: string
Retrieves all accessible scopes for the authenticated user, such as personal workspaces or shared teams.
import { v0 } from 'v0-sdk'
const result = await v0.user.getScopes()
console.log(result)
object string Required
data any[] Required
Array items: string