Delete

Description

Delete existing metadata key-value pairs in a case.

Request

HTTP Method: DELETE

Parameter Description
metadata A list of case related metadata keys.
Path Parameter Description
case_id The ID of the case.

Sample request

curl -X DELETE \
  https://<<META.tenant.domain>>/api/v2/cases/<<case_id>>/metadata \
  -H 'content-type: application/json' \
  -H 'Authorization: Bearer <<CREDENTIAL.tines_api_key>>' \
  -d '{
        "metadata": ["key", "new_key"]
      }'

Response

A successful request will return an empty response with a 204 status code.

Was this helpful?