Skip to content

Commit

Permalink
UI-2053: Add promote/demote account endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
joristirado committed Feb 22, 2016
1 parent 63bac83 commit f9b4ddc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/lib/jquery.kazoosdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
'listChildren': { verb: 'GET', url: 'accounts/{accountId}/children' },
'listParents': { verb: 'GET', url: 'accounts/{accountId}/tree' },
'searchByName': { verb: 'GET', url: 'search?t=account&q=name&v={accountName}'},
'searchAll': { verb: 'GET', url: 'search/multi?t=account&by_name={searchValue}&by_realm={searchValue}&by_id={searchValue}'}
'searchAll': { verb: 'GET', url: 'search/multi?t=account&by_name={searchValue}&by_realm={searchValue}&by_id={searchValue}'},
'promote': { verb: 'PUT', url: 'accounts/{accountId}/reseller' },
'demote': { verb: 'DELETE', url: 'accounts/{accountId}/reseller' }
},
appsStore: {
'get': { verb: 'GET', 'url': 'accounts/{accountId}/apps_store/{appId}' },
Expand Down

0 comments on commit f9b4ddc

Please sign in to comment.