authenticators_totp_partial_update
PATCH/api/v3//authenticators/totp/:id/
Viewset for totp authenticator devices
Request
Path Parameters
id integerrequired
A unique integer value identifying this TOTP Device.
- application/json
Body
namestring
The human-readable name of this device.
Possible values: non-empty
and <= 64 characters
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (auto)
Schema
namestringrequired
The human-readable name of this device.
Possible values: <= 64 characters
pkID (integer)required
user object
{
"name": "string",
"pk": 0,
"user": {
"pk": 0,
"username": "string",
"name": "string",
"is_active": true,
"last_login": "2024-07-29T15:51:28.071Z",
"email": "user@example.com",
"attributes": {},
"uid": "string"
}
}
- application/json
- Schema
- Example (auto)
Schema
non_field_errorsstring[]
codestring
property name*any
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (auto)
Schema
detailstringrequired
codestring
{
"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