Method: Morpheus::UserGroupsInterface#create
- Defined in:
- lib/morpheus/api/user_groups_interface.rb
#create(account_id, options) ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/morpheus/api/user_groups_interface.rb', line 21 def create(account_id, ) url = build_url(account_id) headers = { :authorization => "Bearer #{@access_token}", 'Content-Type' => 'application/json' } payload = opts = {method: :post, url: url, timeout: 10, headers: headers, payload: payload.to_json} execute(opts) end |