Skip to main content
POST
/
api
/
teams
/
{id}
/
follow
Follow team
curl --request POST \
  --url https://app.d-sports.org/api/teams/{id}/follow \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "followed"
}
'

Authorizations

Authorization
string
header
required

Clerk session token. Use Authorization: Bearer .

Path Parameters

id
string
required

Body

application/json
type
enum<string>
Available options:
followed,
fan

Response

200

{ success }