Method: Contacts#remove_contact_profile

Defined in:
lib/user/customer-data/contacts.rb

#remove_contact_profile(contact_id, options = nil) ⇒ Object

Remove contact profile.

Remove a profile from a contact.

Parameters

contact_id

(Integer) – Contact id.

options

(Hash) – List of Resource Collection Options shown above can be used as parameter.

Example

@data = @cxf_user.remove_contact_profile(4)


119
120
121
# File 'lib/user/customer-data/contacts.rb', line 119

def remove_contact_profile(contact_id, options = nil)
  @client.raw('post', "/customer-data/contacts/#{contact_id}/remove-profiles", options)
end