Okta.Sdk.Api.AuthenticatorApi
October 22, 2025 ยท View on GitHub
All URIs are relative to https://subdomain.okta.com
| Method | HTTP request | Description |
|---|---|---|
| ActivateAuthenticator | POST /api/v1/authenticators/{authenticatorId}/lifecycle/activate | Activate an authenticator |
| ActivateAuthenticatorMethod | POST /api/v1/authenticators/{authenticatorId}/methods/{methodType}/lifecycle/activate | Activate an authenticator method |
| CreateAuthenticator | POST /api/v1/authenticators | Create an authenticator |
| CreateCustomAAGUID | POST /api/v1/authenticators/{authenticatorId}/aaguids | Create a custom AAGUID |
| DeactivateAuthenticator | POST /api/v1/authenticators/{authenticatorId}/lifecycle/deactivate | Deactivate an authenticator |
| DeactivateAuthenticatorMethod | POST /api/v1/authenticators/{authenticatorId}/methods/{methodType}/lifecycle/deactivate | Deactivate an authenticator method |
| DeleteCustomAAGUID | DELETE /api/v1/authenticators/{authenticatorId}/aaguids/{aaguid} | Delete a custom AAGUID |
| GetAuthenticator | GET /api/v1/authenticators/{authenticatorId} | Retrieve an authenticator |
| GetAuthenticatorMethod | GET /api/v1/authenticators/{authenticatorId}/methods/{methodType} | Retrieve an authenticator method |
| GetCustomAAGUID | GET /api/v1/authenticators/{authenticatorId}/aaguids/{aaguid} | Retrieve a custom AAGUID |
| GetWellKnownAppAuthenticatorConfiguration | GET /.well-known/app-authenticator-configuration | Retrieve the well-known app authenticator configuration |
| ListAllCustomAAGUIDs | GET /api/v1/authenticators/{authenticatorId}/aaguids | List all custom AAGUIDs |
| ListAuthenticatorMethods | GET /api/v1/authenticators/{authenticatorId}/methods | List all methods of an authenticator |
| ListAuthenticators | GET /api/v1/authenticators | List all authenticators |
| ReplaceAuthenticator | PUT /api/v1/authenticators/{authenticatorId} | Replace an authenticator |
| ReplaceAuthenticatorMethod | PUT /api/v1/authenticators/{authenticatorId}/methods/{methodType} | Replace an authenticator method |
| ReplaceCustomAAGUID | PUT /api/v1/authenticators/{authenticatorId}/aaguids/{aaguid} | Replace a custom AAGUID |
| UpdateCustomAAGUID | PATCH /api/v1/authenticators/{authenticatorId}/aaguids/{aaguid} | Update a custom AAGUID |
ActivateAuthenticator
AuthenticatorBase ActivateAuthenticator (string authenticatorId)
Activate an authenticator
Activates an authenticator by authenticatorId
Example
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class ActivateAuthenticatorExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
// Configure API key authorization: apiToken
config.Token ="YOUR_API_KEY";
// Configure OAuth2 access token for authorization: oauth2
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new AuthenticatorApi(config);
var authenticatorId = aut1nd8PQhGcQtSxB0g4; // string | `id` of the authenticator
try
{
// Activate an authenticator
AuthenticatorBase result = apiInstance.ActivateAuthenticator(authenticatorId);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling AuthenticatorApi.ActivateAuthenticator: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| authenticatorId | string | `id` of the authenticator |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ActivateAuthenticatorMethod
AuthenticatorMethodBase ActivateAuthenticatorMethod (string authenticatorId, AuthenticatorMethodType methodType)
Activate an authenticator method
Activates a method for an authenticator identified by authenticatorId and methodType
Example
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class ActivateAuthenticatorMethodExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
// Configure API key authorization: apiToken
config.Token ="YOUR_API_KEY";
// Configure OAuth2 access token for authorization: oauth2
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new AuthenticatorApi(config);
var authenticatorId = aut1nd8PQhGcQtSxB0g4; // string | `id` of the authenticator
var methodType = (AuthenticatorMethodType) "cert"; // AuthenticatorMethodType | Type of authenticator method
try
{
// Activate an authenticator method
AuthenticatorMethodBase result = apiInstance.ActivateAuthenticatorMethod(authenticatorId, methodType);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling AuthenticatorApi.ActivateAuthenticatorMethod: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| authenticatorId | string | `id` of the authenticator | |
| methodType | AuthenticatorMethodType | Type of authenticator method |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Success | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CreateAuthenticator
AuthenticatorBase CreateAuthenticator (AuthenticatorBase authenticator, bool? activate = null)
Create an authenticator
Creates an authenticator
Example
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class CreateAuthenticatorExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
// Configure API key authorization: apiToken
config.Token ="YOUR_API_KEY";
// Configure OAuth2 access token for authorization: oauth2
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new AuthenticatorApi(config);
var authenticator = new AuthenticatorBase(); // AuthenticatorBase |
var activate = true; // bool? | Whether to execute the activation lifecycle operation when Okta creates the authenticator (optional) (default to true)
try
{
// Create an authenticator
AuthenticatorBase result = apiInstance.CreateAuthenticator(authenticator, activate);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling AuthenticatorApi.CreateAuthenticator: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| authenticator | AuthenticatorBase | ||
| activate | bool? | Whether to execute the activation lifecycle operation when Okta creates the authenticator | [optional] [default to true] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CreateCustomAAGUID
CustomAAGUIDResponseObject CreateCustomAAGUID (string authenticatorId, CustomAAGUIDCreateRequestObject customAAGUIDCreateRequestObject = null)
Create a custom AAGUID
Creates a custom AAGUID for the WebAuthn authenticator
Example
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class CreateCustomAAGUIDExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
// Configure API key authorization: apiToken
config.Token ="YOUR_API_KEY";
// Configure OAuth2 access token for authorization: oauth2
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new AuthenticatorApi(config);
var authenticatorId = aut1nd8PQhGcQtSxB0g4; // string | `id` of the authenticator
var customAAGUIDCreateRequestObject = new CustomAAGUIDCreateRequestObject(); // CustomAAGUIDCreateRequestObject | (optional)
try
{
// Create a custom AAGUID
CustomAAGUIDResponseObject result = apiInstance.CreateCustomAAGUID(authenticatorId, customAAGUIDCreateRequestObject);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling AuthenticatorApi.CreateCustomAAGUID: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| authenticatorId | string | `id` of the authenticator | |
| customAAGUIDCreateRequestObject | CustomAAGUIDCreateRequestObject | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Success | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeactivateAuthenticator
AuthenticatorBase DeactivateAuthenticator (string authenticatorId)
Deactivate an authenticator
Deactivates an authenticator by authenticatorId
Example
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class DeactivateAuthenticatorExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
// Configure API key authorization: apiToken
config.Token ="YOUR_API_KEY";
// Configure OAuth2 access token for authorization: oauth2
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new AuthenticatorApi(config);
var authenticatorId = aut1nd8PQhGcQtSxB0g4; // string | `id` of the authenticator
try
{
// Deactivate an authenticator
AuthenticatorBase result = apiInstance.DeactivateAuthenticator(authenticatorId);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling AuthenticatorApi.DeactivateAuthenticator: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| authenticatorId | string | `id` of the authenticator |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeactivateAuthenticatorMethod
AuthenticatorMethodBase DeactivateAuthenticatorMethod (string authenticatorId, AuthenticatorMethodType methodType)
Deactivate an authenticator method
Deactivates a method for an authenticator identified by authenticatorId and methodType
Example
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class DeactivateAuthenticatorMethodExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
// Configure API key authorization: apiToken
config.Token ="YOUR_API_KEY";
// Configure OAuth2 access token for authorization: oauth2
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new AuthenticatorApi(config);
var authenticatorId = aut1nd8PQhGcQtSxB0g4; // string | `id` of the authenticator
var methodType = (AuthenticatorMethodType) "cert"; // AuthenticatorMethodType | Type of authenticator method
try
{
// Deactivate an authenticator method
AuthenticatorMethodBase result = apiInstance.DeactivateAuthenticatorMethod(authenticatorId, methodType);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling AuthenticatorApi.DeactivateAuthenticatorMethod: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| authenticatorId | string | `id` of the authenticator | |
| methodType | AuthenticatorMethodType | Type of authenticator method |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Success | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteCustomAAGUID
void DeleteCustomAAGUID (string authenticatorId, string aaguid)
Delete a custom AAGUID
Deletes a custom AAGUID You can only delete custom AAGUIDs that an admin has created.
Example
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class DeleteCustomAAGUIDExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
// Configure API key authorization: apiToken
config.Token ="YOUR_API_KEY";
// Configure OAuth2 access token for authorization: oauth2
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new AuthenticatorApi(config);
var authenticatorId = aut1nd8PQhGcQtSxB0g4; // string | `id` of the authenticator
var aaguid = cb69481e-8ff7-4039-93ec-0a272911111; // string | Unique ID of a custom AAGUID
try
{
// Delete a custom AAGUID
apiInstance.DeleteCustomAAGUID(authenticatorId, aaguid);
}
catch (ApiException e)
{
Debug.Print("Exception when calling AuthenticatorApi.DeleteCustomAAGUID: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| authenticatorId | string | `id` of the authenticator | |
| aaguid | string | Unique ID of a custom AAGUID |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 204 | Deleted | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetAuthenticator
AuthenticatorBase GetAuthenticator (string authenticatorId)
Retrieve an authenticator
Retrieves an authenticator from your Okta organization by authenticatorId
Example
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class GetAuthenticatorExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
// Configure API key authorization: apiToken
config.Token ="YOUR_API_KEY";
// Configure OAuth2 access token for authorization: oauth2
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new AuthenticatorApi(config);
var authenticatorId = aut1nd8PQhGcQtSxB0g4; // string | `id` of the authenticator
try
{
// Retrieve an authenticator
AuthenticatorBase result = apiInstance.GetAuthenticator(authenticatorId);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling AuthenticatorApi.GetAuthenticator: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| authenticatorId | string | `id` of the authenticator |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetAuthenticatorMethod
AuthenticatorMethodBase GetAuthenticatorMethod (string authenticatorId, AuthenticatorMethodType methodType)
Retrieve an authenticator method
Retrieves a method identified by methodType of an authenticator identified by authenticatorId
Example
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class GetAuthenticatorMethodExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
// Configure API key authorization: apiToken
config.Token ="YOUR_API_KEY";
// Configure OAuth2 access token for authorization: oauth2
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new AuthenticatorApi(config);
var authenticatorId = aut1nd8PQhGcQtSxB0g4; // string | `id` of the authenticator
var methodType = (AuthenticatorMethodType) "cert"; // AuthenticatorMethodType | Type of authenticator method
try
{
// Retrieve an authenticator method
AuthenticatorMethodBase result = apiInstance.GetAuthenticatorMethod(authenticatorId, methodType);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling AuthenticatorApi.GetAuthenticatorMethod: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| authenticatorId | string | `id` of the authenticator | |
| methodType | AuthenticatorMethodType | Type of authenticator method |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Success | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetCustomAAGUID
CustomAAGUIDResponseObject GetCustomAAGUID (string authenticatorId, string aaguid)
Retrieve a custom AAGUID
Retrieves a custom AAGUID
Example
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class GetCustomAAGUIDExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
// Configure API key authorization: apiToken
config.Token ="YOUR_API_KEY";
// Configure OAuth2 access token for authorization: oauth2
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new AuthenticatorApi(config);
var authenticatorId = aut1nd8PQhGcQtSxB0g4; // string | `id` of the authenticator
var aaguid = cb69481e-8ff7-4039-93ec-0a272911111; // string | Unique ID of a custom AAGUID
try
{
// Retrieve a custom AAGUID
CustomAAGUIDResponseObject result = apiInstance.GetCustomAAGUID(authenticatorId, aaguid);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling AuthenticatorApi.GetCustomAAGUID: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| authenticatorId | string | `id` of the authenticator | |
| aaguid | string | Unique ID of a custom AAGUID |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Success | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetWellKnownAppAuthenticatorConfiguration
List<WellKnownAppAuthenticatorConfiguration> GetWellKnownAppAuthenticatorConfiguration (string oauthClientId)
Retrieve the well-known app authenticator configuration
Retrieves the well-known app authenticator configuration. Includes an app authenticator's settings, supported methods, and other details.
Example
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class GetWellKnownAppAuthenticatorConfigurationExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
var apiInstance = new AuthenticatorApi(config);
var oauthClientId = "oauthClientId_example"; // string | Filters app authenticator configurations by `oauthClientId`
try
{
// Retrieve the well-known app authenticator configuration
List<WellKnownAppAuthenticatorConfiguration> result = apiInstance.GetWellKnownAppAuthenticatorConfiguration(oauthClientId).ToListAsync();
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling AuthenticatorApi.GetWellKnownAppAuthenticatorConfiguration: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| oauthClientId | string | Filters app authenticator configurations by `oauthClientId` |
Return type
List<WellKnownAppAuthenticatorConfiguration>
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Success | - |
| 400 | Bad Request | - |
| 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListAllCustomAAGUIDs
List<CustomAAGUIDResponseObject> ListAllCustomAAGUIDs (string authenticatorId)
List all custom AAGUIDs
Lists all custom Authenticator Attestation Global Unique Identifiers (AAGUIDs) in the org Only custom AAGUIDs that an admin has created are returned.
Example
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class ListAllCustomAAGUIDsExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
// Configure API key authorization: apiToken
config.Token ="YOUR_API_KEY";
// Configure OAuth2 access token for authorization: oauth2
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new AuthenticatorApi(config);
var authenticatorId = aut1nd8PQhGcQtSxB0g4; // string | `id` of the authenticator
try
{
// List all custom AAGUIDs
List<CustomAAGUIDResponseObject> result = apiInstance.ListAllCustomAAGUIDs(authenticatorId).ToListAsync();
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling AuthenticatorApi.ListAllCustomAAGUIDs: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| authenticatorId | string | `id` of the authenticator |
Return type
List<CustomAAGUIDResponseObject>
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Success | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListAuthenticatorMethods
List<AuthenticatorMethodBase> ListAuthenticatorMethods (string authenticatorId)
List all methods of an authenticator
Lists all methods of an authenticator identified by authenticatorId
Example
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class ListAuthenticatorMethodsExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
// Configure API key authorization: apiToken
config.Token ="YOUR_API_KEY";
// Configure OAuth2 access token for authorization: oauth2
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new AuthenticatorApi(config);
var authenticatorId = aut1nd8PQhGcQtSxB0g4; // string | `id` of the authenticator
try
{
// List all methods of an authenticator
List<AuthenticatorMethodBase> result = apiInstance.ListAuthenticatorMethods(authenticatorId).ToListAsync();
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling AuthenticatorApi.ListAuthenticatorMethods: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| authenticatorId | string | `id` of the authenticator |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Success | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListAuthenticators
List<AuthenticatorBase> ListAuthenticators ()
List all authenticators
Lists all authenticators
Example
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class ListAuthenticatorsExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
// Configure API key authorization: apiToken
config.Token ="YOUR_API_KEY";
// Configure OAuth2 access token for authorization: oauth2
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new AuthenticatorApi(config);
try
{
// List all authenticators
List<AuthenticatorBase> result = apiInstance.ListAuthenticators().ToListAsync();
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling AuthenticatorApi.ListAuthenticators: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Success | - |
| 403 | Forbidden | - |
| 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ReplaceAuthenticator
AuthenticatorBase ReplaceAuthenticator (string authenticatorId, AuthenticatorBase authenticator)
Replace an authenticator
Replaces the properties for an authenticator identified by authenticatorId
Example
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class ReplaceAuthenticatorExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
// Configure API key authorization: apiToken
config.Token ="YOUR_API_KEY";
// Configure OAuth2 access token for authorization: oauth2
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new AuthenticatorApi(config);
var authenticatorId = aut1nd8PQhGcQtSxB0g4; // string | `id` of the authenticator
var authenticator = new AuthenticatorBase(); // AuthenticatorBase |
try
{
// Replace an authenticator
AuthenticatorBase result = apiInstance.ReplaceAuthenticator(authenticatorId, authenticator);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling AuthenticatorApi.ReplaceAuthenticator: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| authenticatorId | string | `id` of the authenticator | |
| authenticator | AuthenticatorBase |
Return type
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ReplaceAuthenticatorMethod
AuthenticatorMethodBase ReplaceAuthenticatorMethod (string authenticatorId, AuthenticatorMethodType methodType, AuthenticatorMethodBase authenticatorMethodBase = null)
Replace an authenticator method
Replaces a method of methodType for an authenticator identified by authenticatorId
Example
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class ReplaceAuthenticatorMethodExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
// Configure API key authorization: apiToken
config.Token ="YOUR_API_KEY";
// Configure OAuth2 access token for authorization: oauth2
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new AuthenticatorApi(config);
var authenticatorId = aut1nd8PQhGcQtSxB0g4; // string | `id` of the authenticator
var methodType = (AuthenticatorMethodType) "cert"; // AuthenticatorMethodType | Type of authenticator method
var authenticatorMethodBase = new AuthenticatorMethodBase(); // AuthenticatorMethodBase | (optional)
try
{
// Replace an authenticator method
AuthenticatorMethodBase result = apiInstance.ReplaceAuthenticatorMethod(authenticatorId, methodType, authenticatorMethodBase);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling AuthenticatorApi.ReplaceAuthenticatorMethod: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| authenticatorId | string | `id` of the authenticator | |
| methodType | AuthenticatorMethodType | Type of authenticator method | |
| authenticatorMethodBase | AuthenticatorMethodBase | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Success | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ReplaceCustomAAGUID
CustomAAGUIDResponseObject ReplaceCustomAAGUID (string authenticatorId, string aaguid, CustomAAGUIDUpdateRequestObject customAAGUIDUpdateRequestObject = null)
Replace a custom AAGUID
Replaces a custom AAGUID for the specified WebAuthn authenticator
Example
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class ReplaceCustomAAGUIDExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
// Configure API key authorization: apiToken
config.Token ="YOUR_API_KEY";
// Configure OAuth2 access token for authorization: oauth2
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new AuthenticatorApi(config);
var authenticatorId = aut1nd8PQhGcQtSxB0g4; // string | `id` of the authenticator
var aaguid = cb69481e-8ff7-4039-93ec-0a272911111; // string | Unique ID of a custom AAGUID
var customAAGUIDUpdateRequestObject = new CustomAAGUIDUpdateRequestObject(); // CustomAAGUIDUpdateRequestObject | (optional)
try
{
// Replace a custom AAGUID
CustomAAGUIDResponseObject result = apiInstance.ReplaceCustomAAGUID(authenticatorId, aaguid, customAAGUIDUpdateRequestObject);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling AuthenticatorApi.ReplaceCustomAAGUID: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| authenticatorId | string | `id` of the authenticator | |
| aaguid | string | Unique ID of a custom AAGUID | |
| customAAGUIDUpdateRequestObject | CustomAAGUIDUpdateRequestObject | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Success | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UpdateCustomAAGUID
CustomAAGUIDResponseObject UpdateCustomAAGUID (string authenticatorId, string aaguid, CustomAAGUIDUpdateRequestObject customAAGUIDUpdateRequestObject = null)
Update a custom AAGUID
Updates the properties of a custom AAGUID by the authenticatorId and aaguid ID
Example
using System.Collections.Generic;
using System.Diagnostics;
using Okta.Sdk.Api;
using Okta.Sdk.Client;
using Okta.Sdk.Model;
namespace Example
{
public class UpdateCustomAAGUIDExample
{
public static void Main()
{
Configuration config = new Configuration();
config.OktaDomain = "https://subdomain.okta.com";
// Configure API key authorization: apiToken
config.Token ="YOUR_API_KEY";
// Configure OAuth2 access token for authorization: oauth2
config.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new AuthenticatorApi(config);
var authenticatorId = aut1nd8PQhGcQtSxB0g4; // string | `id` of the authenticator
var aaguid = cb69481e-8ff7-4039-93ec-0a272911111; // string | Unique ID of a custom AAGUID
var customAAGUIDUpdateRequestObject = new CustomAAGUIDUpdateRequestObject(); // CustomAAGUIDUpdateRequestObject | (optional)
try
{
// Update a custom AAGUID
CustomAAGUIDResponseObject result = apiInstance.UpdateCustomAAGUID(authenticatorId, aaguid, customAAGUIDUpdateRequestObject);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling AuthenticatorApi.UpdateCustomAAGUID: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| authenticatorId | string | `id` of the authenticator | |
| aaguid | string | Unique ID of a custom AAGUID | |
| customAAGUIDUpdateRequestObject | CustomAAGUIDUpdateRequestObject | [optional] |
Return type
Authorization
HTTP request headers
- Content-Type: application/merge-patch+json
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Success | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too Many Requests | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]