Skip to main content
POST
Bulk remove models from the library

Authorizations

Authorization
string
header
required

API key with the vk_ prefix. Create one from the dashboard.

Body

application/json

An unknown field is refused, not ignored: a misspelled dry_run must not turn a dry run into a real delete.

ids
string[]

The ids to delete, 1 to 1000, each at most 128 characters. Duplicates collapse, keeping the first position.

dry_run
boolean

Classify each id and write nothing.

Response

Dry run: what would happen to each id; nothing was written

object
string
required
resource
string
required

deployment, training_job, dataset or model.

dry_run
boolean
required
status
string
required

running while any item is active, then completed.

counts
object
required
results
object[]
required
id
string | null

The batch, to read or stop. Null on a dry run.