Skip to main content
POST
/
v1
/
customFields
/
deleteValues
Delete custom fields
curl --request POST \
  --url https://api.metronome.com/v1/customFields/deleteValues \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "entity": "customer",
  "entity_id": "99594816-e8a5-4bca-be21-8d1de0f45120",
  "keys": [
    "x_account_id"
  ]
}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Delete one or more custom fields

entity
enum<string>
required
Available options:
alert,
billable_metric,
charge,
commit,
contract_credit,
contract_product,
contract,
customer,
discount,
invoice,
product,
rate_card,
scheduled_charge,
subscription
entity_id
string<uuid>
required
keys
string[]
required

Response

200

Success