Difference between revisions of "RemoveTrustedDevice"

From Gvp-public
Jump to navigation Jump to search
(Created page with "{{Api_Method_Spec| Description=Remove form list of TrustedDevice, a previously device registered. Should be sent the TypeId and DeviceId. |Parameters= {{Api_Parameter| Param...")
 
 
(One intermediate revision by one other user not shown)
Line 52: Line 52:
 
|ParamDescription=
 
|ParamDescription=
 
}}
 
}}
 
+
{{Api_Parameter|
 +
ParamName=perform4pApiLogout
 +
|ParamType=String
 +
|ParamRequired=optional
 +
|ParamDescription= If it requires to perform the session logout using 4P Access Sessions API (default is false)
 +
}}
  
 
|Returns=
 
|Returns=
Line 67: Line 72:
  
 
|Exceptions=
 
|Exceptions=
* None
+
* [[AuthenticationRequiredException]]
 +
* [[DeviceIsNotRegisteredToTheAuthenticatedUserException]]
 +
* [[DeviceNotRegisteredException]]
 +
 
  
  

Latest revision as of 14:05, 2 September 2019

Description

Remove form list of TrustedDevice, a previously device registered. Should be sent the TypeId and DeviceId.

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged.
  • trustedDeviceTypeId (int, required)
The device type id from the device that wants to register. This device typeID should be previously registered on the MiB Tools.
  • trustedDeviceId (String, required)
The string that represent some unique information from device and could be used to register a unique id for the instance.
  • deviceManufacturer (String, optional)
  • deviceModel (String, optional)
  • deviceOperatingSystem (String, optional)
  • macAddress (String, optional)
  • clientVersion (String, optional)
  • perform4pApiLogout (String, optional)
If it requires to perform the session logout using 4P Access Sessions API (default is false)


Returns

Returns a JSON object containing a bool answer.

Example:

{

"StatusCode": 0,
"Severity": 1,
"StatusMessage": "OK",
"Content": true

}


Exceptions


Caching

This method is not cached.


Known issues

  • None


Version history

API Version Number Change description Changes author
1.0 Initial method design Harley Cabral


See also