Skip to main content
DELETE
Delete Custom Index
Click for Python SDK
This endpoint deletes a custom index for a Dataset, provided that one exists. Deleting an existing custom index is required to create a new custom index from a new set of image embeddings. This exclusively applies to custom indices that were uploaded, as opposed to internal indices that were computed by Scale (either via the index creation endpoint or continuous indexing).

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

dataset_id
string
required

The Scale-generated ID of the Dataset.

Response

200

dataset_id
string
Example:

"ds_by0a81gnf6gfy9hw6rpg"

job_id
string
Example:

"job_c19xcf9mkws46gah00yg"

message
string
Example:

"Deleting embeddings in the background. You can use the job_id field to asynchronously check the status of this indexing job."