---
updatedAt: 2026-07-15T14:56:44.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/msl5-harmonic/llms.txt
---

# Delete stream

Delete a stream and its associated resources.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Media Services Live API",
    "description": "",
    "license": {
      "name": ""
    },
    "version": "1.10.7"
  },
  "servers": [
    {
      "url": "https://{hostname}"
    }
  ],
  "paths": {
    "/api/v1/streams/{id}": {
      "delete": {
        "tags": [
          "Stream"
        ],
        "summary": "Delete stream",
        "description": "Delete a stream and its associated resources.",
        "operationId": "delete_stream",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Stream ID.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Stream deleted successfully."
          },
          "401": {
            "description": "Unauthorized.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "invalid_token": {
                    "summary": "Invalid or expired token",
                    "value": {
                      "error": "Error decoding token"
                    }
                  },
                  "no_token": {
                    "summary": "Missing authentication token",
                    "value": {
                      "error": "No token found in request"
                    }
                  },
                  "token_verification_failed": {
                    "summary": "Token verification failed",
                    "value": {
                      "error": "No key found for kid"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "insufficient_permissions": {
                    "summary": "Insufficient permissions",
                    "value": {
                      "error": "Forbidden"
                    }
                  },
                  "no_stream_access": {
                    "summary": "No access to stream",
                    "value": {
                      "error": "No access on stream 'stream_id' because not authorized on Group ID 'group_id' of Contract 'contract_id'"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Stream not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                },
                "examples": {
                  "Not found": {
                    "summary": "Stream not found",
                    "value": {
                      "error": "Stream not found"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ErrorResponse": {
        "type": "object",
        "required": [
          "error"
        ],
        "properties": {
          "error": {
            "type": "string",
            "description": "Error message."
          }
        }
      }
    },
    "securitySchemes": {
      "jwt": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "jwt": []
    }
  ]
}
```

# Sibling pages

* [Create stream](https://techdocs.akamai.com/msl5-harmonic/reference/create_stream.md)
* [List streams](https://techdocs.akamai.com/msl5-harmonic/reference/list_streams.md)
* [Get stream details](https://techdocs.akamai.com/msl5-harmonic/reference/get_stream.md)
* [Import a v4 stream](https://techdocs.akamai.com/msl5-harmonic/reference/import_stream.md)
* [Update stream](https://techdocs.akamai.com/msl5-harmonic/reference/update_stream.md)