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.batchDelete({
  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<uuid>[]
required

Array of boost UUIDs to archive. Maximum 1000 IDs per request.

Required array length: 1 - 1000 elements

Response

Successful operation

Response containing the count of archived points boosts.

archivedCount
integer
required

The number of boosts that were archived.

Example:

3