Method: Contacts#delete_contact_user
- Defined in:
- lib/user/crm/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 = @mints_user.delete_contact_user(153, 9)
198 199 200 |
# File 'lib/user/crm/contacts.rb', line 198 def delete_contact_user(contact_id, id) @client.raw('delete', "/crm/contacts/#{contact_id}/users/#{id}") end |