stages_authenticator_duo_enrollment_status_create
POST/api/v3//stages/authenticator/duo/:stage_uuid/enrollment_status/
Check enrollment status of user details in current session
Request
Path Parameters
stage_uuid uuidrequired
A UUID string identifying this Duo Authenticator Setup Stage.
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
duo_response DuoResponseEnum (string)required
Possible values: [success
, waiting
, invalid
]
{
"duo_response": "success"
}
- application/json
- Schema
- Example (from schema)
Schema
non_field_errors string[]
code string
property name* any
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
code string
{
"detail": "string",
"code": "string"
}
Authorization: http
name: authentiktype: httpscheme: bearer
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "/api/v3/stages/authenticator/duo/:stage_uuid/enrollment_status/");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <TOKEN>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());