StackMoreLayersДокументация
APIReference

Удалить пример или базовый сабмит

DELETE
/competitions/{competition_id}/phases/{phase_id}/submission-assets/{asset_kind}/
АвторизацияBearer <token>

StackMoreLayers API token. Send as Authorization: Bearer sml_pat_live_<prefix>.<secret>.

In: header

Параметры пути

competition_id*integer

Numeric competition identifier.

Range1 <= value
phase_id*integer

Numeric phase identifier.

Range1 <= value
asset_kind*string

Phase sample or baseline submission kind.

Value in

  • "sample_submission"
  • "baseline_submission"

Заголовки

Idempotency-Key?string

Opaque client-generated key. A retry with the same key and body returns the original result instead of repeating the effect.

Match^[!-~]+$
Length8 <= length <= 128

Ответ

application/json

application/json

application/json

curl -X DELETE "https://example.com/competitions/1/phases/1/submission-assets/sample_submission/"
{}