Skip to main content
DELETE
/
points
/
boosts
JavaScript
import { TrophyApiClient } from '@trophyso/node';

const trophy = new TrophyApiClient({
  apiKey: 'YOUR_API_KEY'
});

const response = await trophy.admin.points.boosts.batchArchive({
  ids: ['boost-uuid-1', 'boost-uuid-2', 'boost-uuid-3']
});

console.log(`Archived ${response.archivedCount} boosts`);
{
  "archivedCount": 3
}
Rate Limits

Authorizations

X-API-KEY
string
header
required

Query Parameters

ids
string[]
required

A list of up to 100 boost IDs.

Required array length: 1 - 100 elements

Response

Successful operation

Response containing the count of archived points boosts.

archivedCount
integer
required

The number of boosts that were archived.

Example:

3