Skip to content
  • Auto
  • Light
  • Dark
Talk to an expert

Delete Values

Delete custom fields
post/v1/customFields/deleteValues

Deletes one or more custom fields on an instance of a Metronome entity.

Body Parameters
entityenum
"alert" OR "billable_metric" OR "charge" OR 15 more
Hide ParametersShow Parameters
"alert"
"billable_metric"
"charge"
"commit"
"contract_credit"
"contract_product"
"contract"
"credit_grant"
"customer_plan"
"customer"
"discount"
"invoice"
"plan"
"professional_service"
"product"
"rate_card"
"scheduled_charge"
"subscription"
entity_idstring
formatuuid
keysarray of string
curl https://api.metronome.com/v1/customFields/deleteValues \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $METRONOME_BEARER_TOKEN" \
    -d '{
          "entity": "customer",
          "entity_id": "99594816-e8a5-4bca-be21-8d1de0f45120",
          "keys": [
            "x_account_id"
          ]
        }'