POST api/v1/authenticatorv1/BindAuthenticator

Request Information

URI Parameters

None.

Body Parameters

ModifyAuthenticatorParamDto
NameDescriptionTypeAdditional information
Type

integer

None.

Secret

string

None.

Code

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Type": 1,
  "Secret": "sample string 2",
  "Code": "sample string 3"
}

application/xml, text/xml

Sample:
<ModifyAuthenticatorParamDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Smart.Domain.Dto.Others.GoogleAuthenticator">
  <Code>sample string 3</Code>
  <Secret>sample string 2</Secret>
  <Type>1</Type>
</ModifyAuthenticatorParamDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json

Sample:

Sample not available.

application/xml

Sample:
<boolean>true</boolean>

text/json

Sample:
true

text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>