Headers:
-
Authorization: nadeo_v1 t={token}An access token for theNadeoLiveServicesaudience
Service provided by Openplanet
Remove items from club upload activity
POST
https://live-services.trackmania.nadeo.live/api/token/club/{clubId}/bucket/{activityId}/remove
Headers:
Authorization: nadeo_v1 t={token}
An access token for the NadeoLiveServices audience
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:
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"
]