Create Site – Infra API – MediaKind

Create Site

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

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

RBAC Capability Required: infra.site.create

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 DefaultMetadata Required
Resource metadata.

spec object SiteBodySpec Optional
Site specification.

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.

Response

Errors