Description
Use a HTTP DELETE request to delete existing metadata key-value pairs.
Request
HTTP Method: DELETE
Parameter | Description |
---|---|
metadata | A list of case related metadata keys. |
Path Parameter | Description |
---|---|
case_id | ID of the case. |
Sample request
curl -X DELETE \
https://<<META.tenant.domain>>/api/v1/cases/<<case_id>>/metadata \
-H 'content-type: application/json' \
-H 'x-user-token: <<CREDENTIAL.tines_api_key>>' \
-d '{
"metadata": ["key", "new_key"]
}'
Response
A successful request will return an empty response with a 204
status code.