Skip to main content

Set Duo MFA configuration

PUT 

https://sailpoint.api.identitynow.com/v2024/mfa/duo-web/config

This API sets the configuration of an Duo MFA method.

Request

Responses

MFA configuration of an Duo MFA method.

Authorization: oauth2

type: Personal Access Token
scopes: idn:mfa-configuration:manage
user levels: ORG_ADMIN
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Put, "https://sailpoint.api.identitynow.com/v2024/mfa/duo-web/config");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <TOKEN>");
var content = new StringContent("{\n \"mfaMethod\": \"duo-web\",\n \"enabled\": true,\n \"host\": \"example.com\",\n \"accessKey\": \"qw123Y3QlA5UqocYpdU3rEkzrK2D497y\",\n \"identityAttribute\": \"email\",\n \"configProperties\": {\n \"skey\": \"qwERttyZx1CdlQye2Vwtbsjr3HKddy4BAiCXjc5x\",\n \"ikey\": \"Q123WE45R6TY7890ZXCV\"\n }\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://sailpoint.api.identitynow.com/v2024
Auth
Body required
{
  "mfaMethod": "duo-web",
  "enabled": true,
  "host": "example.com",
  "accessKey": "qw123Y3QlA5UqocYpdU3rEkzrK2D497y",
  "identityAttribute": "email",
  "configProperties": {
    "skey": "qwERttyZx1CdlQye2Vwtbsjr3HKddy4BAiCXjc5x",
    "ikey": "Q123WE45R6TY7890ZXCV"
  }
}
ResponseClear

Click the Send API Request button above and see the response here!