Remove one RSVP-TE traffic stream from a running task
POST
/tasks/{id}/rsvp/stream/deleteRuntime-created streams require a persisted create journal. Startup streams use the all-zero create origin plus their saved stream name, wire flow ID and native local flow ID. Both require the full LSP identity and current profile/runtime guards. Native dry-run precedes durable admission. After dispatch, Core only reads the native delete receipt; it never retries deletion after an ambiguous response. A remote receiver should be deleted before its source so the saved traffic profile remains valid.
Контракт
Параметр | Значение |
|---|---|
| Раздел | tasks |
| Авторизация | CookieAuth |
| Принимает | application/json |
| Возвращает | application/json |
Параметры
2 параметров
Имя | Где | Обязательный | Тип | Описание |
|---|---|---|---|---|
| id | path | да | integer | Task ID |
| request | body | да | object | Create origin, local flow ID, startup stream name/wire ID when applicable, and current guards |
{ "agent": "<string>", "expected-create-operation-id": "<string>", "expected-profile-revision": "<string>", "flow-id": 0, "identity": { "accept-detour": true, "endpoint": "<string>", "ext-tunnel-id": "<string>", "instance": 0, "kind": "p2p", "lsp-id": 0, "p2mp-id": 0, "send-detour": true, "sender": "<string>", "tunnel-id": 0 }, "operation-id": "<string>", "rsvp-wire-flow-id": 0, "runtime-generation": "<string>", "stream-name": "<string>" }
Ответы
8 ответов
Статус | Описание | Тип |
|---|---|---|
202 | Durable admission; poll stream/query | object |
400 | Invalid stream reference or guard | object |
401 | Session required | object |
403 | Agent is not registered for this task or license denied | object |
404 | Task, agent or stream journal not found | object |
409 | Profile, runtime, binding or operation conflict | object |
500 | Database failure | object |
502 | Agent validation or response contract failure | object |
{ "agent": "<string>", "created-at": "<string>", "dispatched": true, "expected-create-operation-id": "<string>", "expires-at": "<string>", "flow-id": 0, "identity": { "accept-detour": true, "endpoint": "<string>", "ext-tunnel-id": "<string>", "instance": 0, "kind": "p2p", "lsp-id": 0, "p2mp-id": 0, "send-detour": true, "sender": "<string>", "tunnel-id": 0 }, "mode": "<string>", "operation-id": "<string>", "reason": "<string>", "rsvp-wire-flow-id": 0, "runtime-generation": "<string>", "status": "<string>", "stream-name": "<string>", "task-id": 0, "terminal": true, "updated-at": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }