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

Delete Values

Delete custom fields
v1.custom_fields.delete_values(CustomFieldDeleteValuesParams**kwargs)
post/v1/customFields/deleteValues

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

Parameters
entityliteral
Literal["alert", "billable_metric", "charge", 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_idstr
formatuuid
keyslist
List[str]
from metronome import Metronome

client = Metronome(
    bearer_token="My Bearer Token",
)
client.v1.custom_fields.delete_values(
    entity="customer",
    entity_id="99594816-e8a5-4bca-be21-8d1de0f45120",
    keys=["x_account_id"],
)