---
updatedAt: 2026-06-18T09:09:57.000Z
agentTools:
  projectIndex: https://developers.broadpeak.io/llms.txt
---

# Update a live source

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/v1/sources/live/{id}": {
      "put": {
        "operationId": "LivesController_update_v1",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "description": "Id of the live source assigned by broadpeak.io",
            "schema": {
              "type": "number"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateLiveSourceDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated live source."
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "title": "Conflict",
                      "description": "Cannot update a live source with the same name or URL as another source.",
                      "example": "Cannot update a live source with the same name or URL as another source."
                    },
                    {
                      "title": "Compatibility issue",
                      "description": "The source is not compatible because of the following issue(s):...",
                      "example": "The source is not compatible because of the following issue(s):..."
                    }
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Cannot update the url of the live source"
          },
          "404": {
            "description": "The live source could not be found."
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Update a live source",
        "tags": [
          "Sources/live"
        ]
      }
    }
  },
  "info": {
    "title": "broadpeak.io API",
    "description": "The REST API of broadpeak.io",
    "version": "1.0",
    "contact": {}
  },
  "tags": [
    {
      "name": "Sources/live",
      "description": "Manage live sources"
    }
  ],
  "servers": [
    {
      "url": "https://api.broadpeak.io"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearer": {
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "type": "http"
      }
    },
    "schemas": {
      "CustomHeaderDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 64,
            "description": "Name of the custom header",
            "example": "HeaderName"
          },
          "value": {
            "type": "string",
            "maxLength": 256,
            "description": "Value of the custom header",
            "example": "HeaderValue"
          }
        },
        "required": [
          "name",
          "value"
        ]
      },
      "SourceOriginWithBackupUrlDto": {
        "type": "object",
        "properties": {
          "customHeaders": {
            "maxItems": 10,
            "description": "Enable set custom headers for origin",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomHeaderDto"
            }
          },
          "backupUrl": {
            "type": "string",
            "maxLength": 2000,
            "description": "Backup URL of the source (http(s) origin domain (FQDN or IP address))",
            "example": "https://example.com"
          }
        }
      },
      "CreateLiveSourceDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 100,
            "description": "Name of the source",
            "example": "ABC"
          },
          "description": {
            "type": "string",
            "maxLength": 5000,
            "description": "(Optional) Description of the source",
            "example": "A description of the source"
          },
          "url": {
            "type": "string",
            "maxLength": 2000,
            "format": "uri",
            "description": "URL of the source (DASH or HLS)",
            "example": "https://example/media/content.mpd"
          },
          "multiPeriod": {
            "type": "boolean",
            "description": "Specify if the target manifest is a multiple-periods dash manifest",
            "example": true
          },
          "origin": {
            "description": "Origin of the live source",
            "allOf": [
              {
                "$ref": "#/components/schemas/SourceOriginWithBackupUrlDto"
              }
            ]
          }
        },
        "required": [
          "name",
          "url"
        ]
      }
    }
  }
}
```