SETTO API
Referencia de la APIDivisions

Delete an empty category (needs the `manage` scope)

DELETE
/v1/external/tournaments/{idx}/divisions/{divisionIdx}

Deletes a category that has no teams and no games. One with teams or games is refused with the list of what holds it. The free plan counts the highest category number: deleting the first category while the second lives frees no slot. Recorded in «Actividad».

Authorization

apiToken
AuthorizationBearer <token>

API token (organization or personal)

In: header

Path Parameters

idx*string

Tournament identifier

Formatuuid
divisionIdx*string

Category identifier

Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/external/tournaments/497f6eca-6276-4993-bfeb-53cbbbba6f08/divisions/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "idx": "a7b8c9d0-e1f2-4345-8a6b-7c8d9e0f1a2b",  "deleted": true}