Headers:
-
Authorization: nadeo_v1 t={token}An access token for theNadeoLiveServicesaudience
Service provided by Openplanet
Set VIP club member
POST
https://live-services.trackmania.nadeo.live/api/token/club/{clubId}/vip/{accountId}/set
Headers:
Authorization: nadeo_v1 t={token}
An access token for the NadeoLiveServices audience
Path parameters:
{clubId}
integer
The ID of the club where the user should become VIP
*
{accountId}
integer
The account ID of the club member
*
Sets a club member as a VIP.
Remarks:
Example request:
POST https://live-services.trackmania.nadeo.live/api/token/club/131063/vip/69f31664-4252-48e0-a433-024c49caee8c/set
Example response:
{
"creationTimestamp": 1771820094,
"accountId": "69f31664-4252-48e0-a433-024c49caee8c",
"clubId": 131063,
"moderator": false,
"vip": true,
"hasFeatured": false,
"useTag": false,
"pin": false,
"role": "Creator"
}
If the accountID is invalid or does not belong to a member of the club, the response will contain an error:
[
"clubMember:error-notFound"
]
If the club does not exist or the authenticated account is not a member of the club, the response will contain an error:
[
"clubMemberRole:error-notMember"
]
If the authenticated account does not have enough permissions in the club to manage VIP members, the response will contain an error:
[
"clubMemberRole:error-notAdmin"
]