Remove metadata record

Removes a metadata key with all its values from a resource.

DELETE https://incidents.betterstack.com/api/v4/metadata/{metadata_id}

URL parameters

metadata_id
required string

Headers

Authorization
required string
204
404

Response body

{
  "errors": "Resource type Metadata with id = 25 was not found"
}

Example cURL

Example
curl --request DELETE \
  --url https://incidents.betterstack.com/api/v4/metadata/25 \
  --header "Authorization: Bearer $TOKEN"