authenticators_admin_duo_create
POST/authenticators/admin/duo/
Viewset for Duo authenticator devices (for admins)
Request
- application/json
Body
required
name stringrequired
Possible values: non-empty
and <= 64 characters
The human-readable name of this device.
Responses
- 201
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
pk ID (integer)required
name stringrequired
Possible values: <= 64 characters
The human-readable name of this device.
{
"pk": 0,
"name": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
non_field_errors string[]
code string
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
code string
{
"detail": "string",
"code": "string"
}
Loading...