Secrets

Generate TOTP code

Generate a current TOTP code for a login secret that has 2FA configured.

post/v1beta/secrets/{id}/totp

Request

  • Base URL: https://api.indices.io
  • URL: https://api.indices.io/v1beta/secrets/{id}/totp
  • Auth: HTTP bearer

Path parameters

idstring required

The ID of the secret.

Response

Successful response

idstring required

Unique identifier of the secret.

codestring required

Current 6-digit TOTP code.

Changes

No recorded changes to this operation across all 1 revision of this API.