Skip to main content

stages_authenticator_duo_import_device_manual_create

POST 

/api/v3//stages/authenticator/duo/:stage_uuid/import_device_manual/

Import duo devices into authentik

Request

Path Parameters

    stage_uuid uuidrequired

    A UUID string identifying this Duo Authenticator Setup Stage.

Bodyrequired

    duo_user_idstringrequired

    Possible values: non-empty

    usernamestringrequired

    Possible values: non-empty

Responses

Enrollment successful

Authorization: http

name: authentiktype: httpscheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "/api/v3/stages/authenticator/duo/:stage_uuid/import_device_manual/");
request.Headers.Add("Authorization", "Bearer <token>");
var content = new StringContent("{\n \"duo_user_id\": \"string\",\n \"username\": \"string\"\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
/api/v3
Auth
Parameters
— pathrequired
Body required
{
  "duo_user_id": "string",
  "username": "string"
}