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

Remove Key

Delete a custom field key
post/v1/customFields/removeKey

Remove a key from the allow list for a given 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"
keystring
curl https://api.metronome.com/v1/customFields/removeKey \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $METRONOME_BEARER_TOKEN" \
    -d '{
          "entity": "customer",
          "key": "x_account_id"
        }'