PrepressMu Mutation

deleteStorageBackend

Topics: Files

Delete a storage backend. Returns a notFound payload when no such backend exists in the caller's tenant. Also the way to clean up a draft left behind by an abandoned OAuth flow. Requires storageBackend:delete permission.

Returns

DeletePayload!

Arguments

TypeID (sbk_ prefix) of the backend to delete.

Exact field SDL
"""
Delete a storage backend. Returns a notFound payload when no such backend exists in the caller's tenant. Also the way to clean up a draft left behind by an abandoned OAuth flow. Requires storageBackend:delete permission.
"""
deleteStorageBackend(
  """TypeID (`sbk_` prefix) of the backend to delete."""
  id: StorageBackendID!
): DeletePayload! @topic(names: ["files"])

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