Skip to content
campaiDeveloper
campai.com

Booking ยท Tournaments

DELETE/{organizationId}/{mandateId}/booking/tournaments/{tournamentId}

Delete tournament

Deletes a tournament with its teams, matches, results and pictures. Its sign-up event stays with its bookings and appears in lists of events again.

Permissions

Send an API key of the organization in the path, using the X-API-Key header.

Permission checks in detail
Required permissions
  • mandate.read
  • tournament.remove

Request

Path parameters

  • organizationIdidrequired
  • mandateIdidrequired
  • tournamentIdidrequired
Request
curl --fail-with-body --silent --show-error --max-time 30 --globoff \
  --request DELETE 'https://cloud.campai.com/api/YOUR_ORGANIZATION_ID/YOUR_MANDATE_ID/booking/tournaments/YOUR_TOURNAMENT_ID' \
  --header 'X-API-Key: YOUR_API_KEY'

Response

200 Successful response

Content-Type: application/json

    Response200
    {}

    Errors

    No errors of its own are known for this endpoint.

    Errors nearly every request can meet are listed under Errors.