Update Site – Infra API – MediaKind

Update Site

patch https://app.mk.io/api/v1/projects/:project_name/infra/sites/:name

Update a site. To learn more about sites, read Site Concept.

RBAC Capability Required: infra.site.update

Authentication

Authorization Bearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

Request

This endpoint expects an object.

metadata object DefaultPatchMetadata Optional

Resource metadata.

spec object SitePatchBodySpec Optional

Site specification.

The routes that connect the network to glossary:sites.

defaultTransport object DefaultTransport Optional

Settings used to influence the glossary:transport that the system will automatically select when it needs to send glossary:content from one glossary:flow to another flow. The default transport settings from the route on which the content enters the network are used to select and configure the transport for the content. Read Default transports to learn more.

Allowed values: Auto, SRTListener, SRTCaller, UDP, RISTListener

Response

200 The updated site

Site metadata.

Site specification.

status object SiteBodyStatus Required

Site status.

Allowed values: User, System

Errors