authenticators_admin_sms_create
POST/authenticators/admin/sms/
Viewset for sms 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
name stringrequired
Possible values: <= 64 characters
The human-readable name of this device.
pk ID (integer)required
phone_number stringrequired
{
"name": "string",
"pk": 0,
"phone_number": "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...