GET v1/bunits/{bunitId}/users/{userId}/totp

Get a newly generated secret key for TOTP
Can only be done by users not already using TOTP
It is not possibe to retrieve previously generated codes

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bunitId integer

Required

userId integer

Required

Body Parameters

None.

Response Information

Resource Description

string

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<string>sample string 1</string>