Delete club activity

POST https://live-services.trackmania.nadeo.live/api/token/club/{clubId}/activity/{activityId}/delete

Headers:


Path parameters:

  • {clubId} integer The ID of the club the activity belongs to *
  • {activityId} integer The activity ID of the activity to delete *

Deletes an activity from a club.


Remarks:

  • This endpoint is only useful with tokens authenticated through Ubisoft user accounts (as opposed to dedicated server accounts).
  • When deleting a folder with other activities inside it, they will be moved outside the folder.

Example request:

POST https://live-services.trackmania.nadeo.live/api/token/club/103034/activity/1003588/delete

Example response:

Activity deleted

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 activity does not exist, the response will contain an error:

[
  "activity:error-notFound"
]

If the player does not have enough permissions in the club to delete activities, the response will contain an error:

[
  "clubMemberRole:error-notContentCreator"
]