Module: BWAPI::Client::Brandwatch::Clients::CommandCenter::Users::Access

Included in:
BWAPI::Client::Brandwatch::Clients::CommandCenter::Users
Defined in:
lib/bwapi/client/brandwatch/clients/command_center/users/access.rb

Overview

Access module for brandwatch/client/client_id/commandcenter/users/user_id/access endpoints

Instance Method Summary collapse

Instance Method Details

#brandwatch_delete_user_access_level(client_id, user_id, access_level) ⇒ Object

Revoke a user’s Vizia access

TODO: Add parameters documentation



19
20
21
# File 'lib/bwapi/client/brandwatch/clients/command_center/users/access.rb', line 19

def brandwatch_delete_user_access_level(client_id, user_id, access_level)
  delete "brandwatch/client/#{client_id}/commandcenter/users/#{user_id}/access/#{access_level}"
end

#brandwatch_update_user_access_level(client_id, user_id, access_level) ⇒ Object

Update a user’s Vizia access level

TODO: Add parameters documentation



12
13
14
# File 'lib/bwapi/client/brandwatch/clients/command_center/users/access.rb', line 12

def brandwatch_update_user_access_level(client_id, user_id, access_level)
  put "brandwatch/client/#{client_id}/commandcenter/users/#{user_id}/access/#{access_level}"
end