Skip to main content

deleteModelRegistry()

deleteModelRegistry(modelId: string): Promise<void>

Defined in: packages/core/src/index.ts:2881

Delete a model from the registry

Parameters

ParameterTypeDescription
modelIdstringThe unique identifier of the model to delete

Returns

Promise<void>

void

Throws

401 - Not authenticated

Throws

404 - Model not found

Example

import { deleteModelRegistry } from "@cpod/sdk";

await deleteModelRegistry("model-123");