v1

latestOpenAPI 3.0.12026-07-22231676.5 KB
Delete

Delete Client Matters

Deletes a list of client matters from Harvey, preventing them from being associated with any future queries. If a client matter does not exist or is already deleted, it will be skipped.

Deleting a Client Matter does not delete historical queries associated with that Client Matter, nor does it remove the Client Matter from those historical queries. Users and Admins can update the Client Matter associated with a previous query in the Dashboard.

delete/api/v1/client_matters

Request body

client_mattersstring[] required

A list of client matter names to delete.

Example request

{
  "client_matters": [
    "123-45",
    "456-78"
  ]
}

Response

The number of successfully deleted client matters and the number of failures.

success_countinteger

The total amount of client matters that were successfully deleted.

failedstring[]

A list of cm_names that failed to delete. If all deletions were successful, you will receive an empty array.

Example response

{
  "success_count": 1,
  "failed": []
}