Remove Key
Delete a custom field key
v1.custom_fields.remove_key(**kwargs) -> void
post/v1/customFields/removeKey
Remove a key from the allow list for a given entity.
Parameters
entityunion
:alert | :billable_metric | :charge | 15 more
keyString
require "metronome_sdk"
metronome = MetronomeSDK::Client.new(bearer_token: "My Bearer Token")
result = metronome.v1.custom_fields.remove_key(entity: :customer, key: "x_account_id")
puts(result)