Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:sidebar:remoteapi:apiref:account:enable_account [30/01/2013 13:55]
zuve
en:sidebar:remoteapi:apiref:account:enable_account [29/11/2013 13:31]
Line 1: Line 1:
-{{indexmenu_n>​4}} 
-====== Enable/​disable account ====== 
  
-To enable/​disable account use command **account/​enable_account**: ​ 
- 
-<code javascript>​ 
-svc=account/​enable_account&​params={"​itemId":<​long>,​ 
-    "​enable":<​bool>​} 
-</​code>​ 
- 
-===== Parameters ===== 
-^ Name ^ Description ^ 
-| itemId | resource (account) ID | 
-| enable | mode: 0 - disable, 1 - enable | 
- 
-===== Response ===== 
-<​code=javascript>​ 
-{} /* empty object if execution successful, if not - error code */ 
-</​code>​ 
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2020 Gurtam