Get confirmation email
GET{baseUrl}/api/2.0/settings/tfaapp/confirm
Returns the confirmation email URL for authorization via SMS or TFA application.
Responses
- 200
- 401
Confirmation email URL
- application/json
- Schema
- Example (auto)
Schema
responsestring
countint32
links object[]
statusint32
statusCodeint32
{
"response": "string",
"count": 0,
"links": [
{
"href": "string",
"action": "string"
}
],
"status": 0,
"statusCode": 0
}
Unauthorized
Authorization: asc_auth_key
name: asc_auth_keytype: apiKeyscopes: read,write
description: Use Cookie authenticationin: cookie
name: Bearertype: httpdescription: Enter 'Bearer {JWT Token}'scheme: bearerbearerFormat: JWT
name: ApiKeyBearertype: httpdescription: Authentication is determined by the 'Authorization' headerscheme: bearerbearerFormat: API Key
name: Basictype: httpdescription: Enter your username and passwordscheme: basic
name: OAuth2type: oauth2scopes:api.read,api.write
description: OAuth2 flow with Authorization Codeflows: { "authorizationCode": { "authorizationUrl": "", "tokenUrl": "", "scopes": { "read": "Read access to protected resources", "write": "Write access to protected resources" } } }
name: OpenIdtype: openIdConnectdescription: OpenID Connect authenticationopenIdConnectUrl:
- curl
- python
- javascript
- php
- csharp
- java
- CURL
curl -L '/api/2.0/settings/tfaapp/confirm' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>' \
-H 'Authorization: Bearer <token>' \
-H 'Authorization: Basic PHVzZXJuYW1lPjo8cGFzc3dvcmQ+' \
-H 'Authorization: Bearer <token>'
ResponseClear