Archive
Archive a customer
v1.customers.archive(**kwargs) -> dataIDCustomerArchiveResponse
post/v1/customers/archive
Archive a customer Note: any alerts associated with the customer will not be triggered.
Parameters
idString
formatuuid
Returns
CustomerArchiveResponseclass
require "metronome_sdk"
metronome = MetronomeSDK::Client.new(bearer_token: "My Bearer Token")
response = metronome.v1.customers.archive(id: "8deed800-1b7a-495d-a207-6c52bac54dc9")
puts(response)
200 Example
{
"data": {
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
}
}