This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Deletes a translation schema.
function deleteSchema(schemaId: string): Promise<void>;
ID of the translation schema to delete.
import { translationSchemas } from "@wix/multilingual";
async function deleteSchema(schemaId) {
const response = await translationSchemas.deleteSchema(schemaId);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.