Insights

Delete an insight. The insight is soft-deleted and moved to the project's trash.

Note: This endpoint is deprecated. Use Delete doc (DELETE /v1/docs/:doc_id) instead.

Deleted insights can be restored for up to 30 days before they are automatically and permanently deleted.

Returns the deleted insight object.

🚧 Permissions

Please check you have the relevant permissions required to access this resource. This may include specific permissions on the object itself or its parent, or having the correct user role if you're making updates.

Required scope: insight:delete

delete/v1/insights/{insight_id}

Request

  • Base URL
    https://dovetail.com/api
  • URL
    https://dovetail.com/api/v1/insights/{insight_id}
  • Auth
    HTTP bearer

Path parameters

insight_idstring required

Unique identifier of the insight.

Response

200

Changes

    • breaking

      added subschema #1 subschema #2 to the / response property oneOf list for the response status

    • breaking

      the / response's property type changed from object to no type for status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • warning

      removed the optional property // from the response with the status