Admin API / Mutations

updateLivestream

Changes the details of one livestream. An omitted field keeps its value. The status does not change: the lifecycle mutations change it. A CANCELLED livestream gives LivestreamStateConflictError. Requires that the caller hosts the livestream or acts for its host (Viewer.access.actingFor), or the ADMIN role or higher. On a livestream of another host, the ADMIN role sends only isMature: true, visibility: UNLISTED, isReplayVisible: false and collectionIds; any other field gives UnauthorizedError with a null requiredRole. A repeat with the same input writes the same values; after the livestream leaves SCHEDULED, a repeat that has startAt gives LivestreamStateConflictError.

Requires a client key with one of these scopes: admin:livestreams:writeRequires this member role or higher: SELLER
updateLivestream(
  input: UpdateLivestreamInput!
): UpdateLivestreamPayload!

Arguments

ArgumentTypeDescription
inputUpdateLivestreamInput!The livestream and its changes.

Return type

UpdateLivestreamPayload!