delete-vector-index

Updated at:

Use the delete-vector-index command to delete a vector index.

Usage notes

  • Deleting an index also deletes all vector data in the index.

  • The delete operation is irreversible. Back up important data and proceed with caution.

Permissions

Alibaba Cloud accounts have full permissions by default. Resource Access Management (RAM) users and roles have none. An account administrator must grant permissions through a RAM policy or bucket policy.

API

Action

Description

DeleteVectorIndex

oss:DeleteVectorIndex

Delete a vector index.

Command format

ossutil vectors-api delete-vector-index --bucket value --index-name value [flags]

Parameters

Parameter

Type

Description

--bucket

string

The name of the vector bucket.

--index-name

string

The name of the index to delete.

Note

Example

Delete the vector index named index from the bucket named examplebucket.

ossutil vectors-api delete-vector-index --bucket examplebucket --index-name index