Module: Intercom::ApiOperations::RequestHardDelete

Included in:
Service::Lead, Service::User
Defined in:
lib/intercom/api_operations/request_hard_delete.rb

Instance Method Summary collapse

Instance Method Details

#request_hard_delete(object) ⇒ Object



6
7
8
9
# File 'lib/intercom/api_operations/request_hard_delete.rb', line 6

def request_hard_delete(object)
  @client.post("/user_delete_requests", {intercom_user_id: object.id})
  object
end