DELETE
/
api
/
v1
/
client_matters
Delete Client Matters
curl --request DELETE \
  --url https://api.harvey.ai/api/v1/client_matters \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "client_matters": [
    "123-45",
    "456-78"
  ]
}'
{
  "success_count": 1,
  "failed": []
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
client_matters
string[]
required

A list of client matter names to delete.

Maximum length: 10000
Example:
["123-45", "456-78"]

Response

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

success_count
integer

The total amount of client matters that were successfully deleted.

Example:

1

failed
string[]

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

Example:
[]