cURL
curl --request GET \ --url https://app.d-sports.org/api/admin/teams \ --header 'Authorization: Bearer <token>'
Lists all teams or only teams the current user administers.
Clerk session token. Use Authorization: Bearer .
Set to 'true' to return only your teams
true
{ success, data: Team[] }
Was this page helpful?