SAP Sailing Analytics Webservices API Version 1.0

URL: /api/v1/events/{event-id}/

Description:

Deletes an Event, optionally also allows to delete related LeaderboardGroups and/or all related Leaderboards and/or all related Regattas


Webservice Type: PUT
Output format: empty
Mandatory parameters: none;
Optional parameters:
withLeaderboardGroups - if true, deletes all associated LeaderboardGroups. Doing so will also delete the overall Leaderboards of each group.
withLeaderboards - if true, deletes all associated Leaderboards. The deletion of a RegattaLeaderboard entails the deletion of all Leaderboards holding the same Regatta.
withRegattas - if true, deletes all associated Regattas. Doing so will also delete all their RegattaLeaderboards and TrackedRaces.
Request method: DELETE
Example: curl -X DELETE -H "Authorization: Bearer w9YSIfr/Zf6a127SZDddkhdAtQuuv0Jm1PSXlo1Yvd0=" "http://127.0.0.1:8888/sailingserver/api/v1/events/0065b870-9ddb-42be-a7d4-6be2081cb63e?withLeaderboardGroups=true"
Back to Web Service Overview