Get User Scopes
Retrieves all accessible scopes for the authenticated user, such as personal workspaces or shared teams.
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)
curl -X GET https://api.v0.dev/user/scopes \
-H "Authorization: Bearer $V0_API_KEY" \
-H "Content-Type: application/json"
object string Required
data any[] Required
Array items: string