Method: Contacts#delete_contact_user
- Defined in:
- lib/user/customer-data/contacts.rb
#delete_contact_user(contact_id, id) ⇒ Object
Delete contact user.
Delete a relationship between a contact and an user.
Parameters
- contact_id
-
(Integer) – Contact id.
- id
-
(Integer) – User id.
Example
@data = @cxf_user.delete_contact_user(153, 9)
223 224 225 |
# File 'lib/user/customer-data/contacts.rb', line 223 def delete_contact_user(contact_id, id) @client.raw('delete', "/customer-data/contacts/#{contact_id}/users/#{id}") end |