Create or Update Storage instance – Media API – MediaKind

Create or Update Storage instance

put https://app.mk.io/api/v1/projects/:project_name/media/storage/:storage_name

Create or update a Storage instance. Only the description, credentials and privateLinkServiceConnection details are updatable.

RBAC Capability Required: infra.storage.create or infra.storage.update

Authentication

Authorization Bearer

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

Path parameters

Parameter Type Required Description
project_name string Yes Name of the project.
storage_name string Yes Name of the storage instance.

Request

This endpoint expects an object.

spec | object | Required | The specification of the storage instance.

Variants:

  1. Microsoft.Storage
  1. AWS.S3
  1. Google.Storage

Response

Errors