Retrieves the clubs the authorized player is an admin in.
Remarks:
- This endpoint requires the
clubs
scope. - This endpoint can not be used with a token obtained from the Client Credentials flow, because it has to be associated with a player.
- The access token has to be provided in the
Authorization
header in the formatBearer <token>
.
Example request:
GET https://api.trackmania.com/api/user/clubs/admin
Example response:
{
"clubs": [
{
"id": 12730,
"name": "TM SCENERY HUB"
}
]
}