コンテンツにスキップ

ユーザーのチーム一覧取得

GET
/dashboard/teams

ログイン中のユーザーが所属する全チームの一覧を返す。現在アクティブなチームは isActive=true になる。

チーム一覧取得成功

object
data
Array<object>
object
id

チーム ID (ULID)

string
Example
01KMCCB2EM17AYNHY9AH1E7706
name

チーム名

string
Example
My Team
role

このチームにおけるユーザーのロール

string
Allowed values: owner member viewer
plan

チームのプラン

string
Allowed values: free pro business
isActive

現在アクティブなチームかどうか

boolean

認証が必要

object
error
object
code
string
Example
VALIDATION_ERROR
message
string
Example
Invalid request body
status
integer
Example
400
upgradeUrl

URL to upgrade plan (only present for plan limit errors)

string
Example
https://app.manako.dev/billing