PrepressMu Mutation

upsertStorageBackend

Topics: Files

Create or update a storage backend in one call. Prefer createStorageBackend / updateStorageBackend, which have the same validation but distinct create/update semantics. Requires storageBackend:write permission.

Returns

UpsertStorageBackendPayload!

Arguments

The backend to create (id omitted) or update (id present), including its kind-specific config.

Exact field SDL
"""
Create or update a storage backend in one call. Prefer createStorageBackend / updateStorageBackend, which have the same validation but distinct create/update semantics. Requires storageBackend:write permission.
"""
upsertStorageBackend(
  """
  The backend to create (id omitted) or update (id present), including its kind-specific config.
  """
  input: UpsertStorageBackendInput!
): UpsertStorageBackendPayload! @topic(names: ["files"])

Declared on Mutation. Access is checked by the platform for each operation.