objects

Delete an object

Removes a data object from a specific collection, identified by its collection name (className) and UUID (id).

Note on deleting references (legacy format): For backward compatibility with older beacon formats (lacking a collection name), deleting a reference requires the beacon in the request to exactly match the stored format. Beacons always use localhost as the host, indicating the target is within the same Weaviate instance.

delete/objects/{className}/{id}

Request

  • Base URL: https://localhost:8080/v1
  • URL: https://localhost:8080/v1/objects/{className}/{id}
  • Auth: one of:
    • none
    • OAuth 2 (implicit, authorization URL http://to-be-configured-in-the-application-config)

Path parameters

classNamestring required

Name of the collection (class) the object belongs to.

idstring uuid required

Unique UUID of the object to be deleted.

Query parameters

consistency_levelstring

Determines how many replicas must acknowledge a request before it is considered successful.

tenantstring

Specifies the tenant in a request targeting a multi-tenant collection (class).

Response

Object deleted successfully.

Changes

No recorded changes to this operation across all 1 revision of this API.