authenticators_admin_totp_partial_update
PATCH/authenticators/admin/totp/:id/
Viewset for totp authenticator devices (for admins)
Request
Path Parameters
id integerrequired
A unique integer value identifying this TOTP 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
name stringrequired
Possible values: <= 64 characters
The human-readable name of this device.
pk ID (integer)required
{
"name": "string",
"pk": 0
}
- 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"
}
Loading...