Soft-deletes a bounty event by flagging it deleted rather than removing it. If the event had counted toward a bounty objective’s current, not-yet-superseded progress cycle, that objective’s count is rolled back and the objective is marked incomplete. If the objective has already moved on to a later cycle, the event’s earlier contribution to that cycle is left untouched.
Authorizations
Section titled “Authorizations”X-SHARED-SECRET
required
stringheader
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”eventId
required
string
Example
2ixlNNFdJh-9scoXek80wID of event to delete
Query Parameters
Section titled “Query Parameters”groupId
string
Example
V1StGXR8_Z5jdHi6B1LiOIf your key is scoped to a single program, that group is always used regardless of this value; otherwise falls back to your default group when omitted.
Responses
Section titled “ Responses ”Event deleted successfully
Returned when eventId doesn’t match an event. The body is {code: ‘EventNotFound’}, with no message.
DELETE
/event/{eventId}
const url = 'https://api.nexus.gg/v1/bounties/event/2ixlNNFdJh-9scoXek80w?groupId=V1StGXR8_Z5jdHi6B1LiO';const options = {method: 'DELETE', headers: {'X-SHARED-SECRET': 'nexus_sk_your_key_here'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url 'https://api.nexus.gg/v1/bounties/event/2ixlNNFdJh-9scoXek80w?groupId=V1StGXR8_Z5jdHi6B1LiO' \ --header 'X-SHARED-SECRET: nexus_sk_your_key_here'