Authorization headerleaderboardcommunityID401 if missing, invalid, or insufficientdelete:leaderboard command through the partner publisher pathleaderboardID must identify a leaderboard in the API-key's community404 when the leaderboard does not exist or is not in the resolved communityPATCH /leaderboards/{leaderboardID} if the leaderboard should remain availableDELETE /leaderboards/507f1f77bcf86cd799439012/leaderboards/{leaderboardID} with the request body, query parameters, or multipart fields shown below. Partner API key required when this surface is enabled for the community. Confirm gateway access before using in production.https://api.returning.ai; keep it marked non-primary until the gateway alias is confirmed.data with status and message.400 invalid request body, query, ObjectId, pagination, file format, or missing required field.401 missing, invalid, expired, or insufficient API key/token.403 key is valid but cannot access this community/channel/user/resource, where supported by the service.404 target resource, route, or community-scoped record was not found.409 duplicate or conflicting state for create/update operations, where applicable.500 unexpected Returning.AI service error.curl --location --request DELETE 'https://api.returning.ai/leaderboards/507f1f77bcf86cd799439012' \
--header 'Authorization: Bearer XXXXXX'{
"meta": {
"status": "success",
"statusCode": 200
},
"message": "Delete leaderboard success.",
"data": "507f1f77bcf86cd799439012"
}