Skip to main content
GET
/
api
/
admin
/
teams
List teams (admin)
curl --request GET \
  --url https://app.d-sports.org/api/admin/teams \
  --header 'Authorization: Bearer <token>'

Authorizations

Authorization
string
header
required

Clerk session token. Use Authorization: Bearer .

Query Parameters

my
enum<string>

Set to 'true' to return only your teams

Available options:
true

Response

200

{ success, data: Team[] }