Remove items from club upload activity

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

Headers:


Path parameters:

  • {clubId} integer The ID of the club the upload activity belongs to *
  • {activityId} integer The activity ID of the upload activity where the items should be removed from *

Body parameters:

  • {itemIdList} string[] A list of items to remove from the upload activity, identified by their ID (see remarks below) *

The request body is an object containing the items to be removed:

{
  "itemIdList": itemIdList
}

Removes a list of maps, items, or skins from an upload activity in a club.


Remarks:

  • This endpoint is only useful with tokens authenticated through Ubisoft user accounts (as opposed to dedicated server accounts).
  • The IDs needed for the itemIdList parameter depend on the type of upload activity requested. For maps uploads, it requires their mapUid, while skins and items require their skinID and itemID, respectively.

Example request:

POST https://live-services.trackmania.nadeo.live/api/token/club/103034/bucket/1009342/remove
{
  "itemIdList": [
    "nHC4rwnDO4gGNsFdfzH_lqglXK9",
    "3klKca5nVUdW6TPuSzqv4xAjuse"
  ]
}

Example response:

Items removed.

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

[
  "activity:error-notFound"
]

If the authenticated account does not have enough permissions in the club to edit upload activities, the response will contain an error:

[
  "clubMemberRole:error-notContentCreator"
]