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`);
200
All boosts archived
{ "archivedCount": 3 }
Archive multiple points boosts by ID.
A list of up to 100 boost IDs.
1 - 100
Successful operation
Response containing the count of archived points boosts.
The number of boosts that were archived.
3
Was this page helpful?
Contact support