v0 Platform API/API Reference/User
Get User Scopes
Retrieves all accessible scopes for the authenticated user, such as personal workspaces or shared teams.
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)
A unique identifier for the scope (e.g., user or team workspace).
Fixed value identifying this object as a scope.
An optional human-readable name for the scope.