Headers:
-
Authorization: nadeo_v1 t={token}An access token for theNadeoLiveServicesaudience
Deletes a member of a club.
POST
https://live-services.trackmania.nadeo.live/api/token/club/{clubId}/member/{accountId}
Headers:
Authorization: nadeo_v1 t={token}
An access token for the NadeoLiveServices audience
Path parameters:
{clubId}
integer
The ID of the club the player is a member of
*
{accountId}
string
The account ID of the member to be deleted
*
Remarks:
200 response code, but the account will not leave the club.Example request:
POST https://live-services.trackmania.nadeo.live/api/token/club/383/member/69f31664-4252-48e0-a433-024c49caee8c/delete
Example response:
Club member deleted
If the club does not exist, or the authenticated account is not an admin in the club (except when removing yourself from a club, ie the accountId parameter matches the authenticated account), the response will contain an error (status 403):
["clubMemberRole:error-notAdmin"]
If the account does not exist, or the player is not a member of the club, the response will contain an error (status 404):
["clubMember:error-notFound"]