authenticators_admin_duo_partial_update
PATCH/api/v3//authenticators/admin/duo/:id/
Viewset for Duo authenticator devices (for admins)
Request
Path Parameters
id integerrequired
A unique integer value identifying this Duo Device.
- application/json
Body
name string
Possible values: non-empty
and <= 64 characters
The human-readable name of this device.
Responses
- 200
- 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"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X PATCH '/api/v3/authenticators/admin/duo/:id/' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"name": "string"
}'