Skip to content

Admin Student Disable

POST
/ratchet/admin/student/disable
curl --request POST \
--url http://localhost:8000/ratchet/admin/student/disable \
--header 'Content-Type: application/json' \
--data '"example"'

Set student_disabled to true (body {reason}).

x-api-key
Any of:
string
Media typeapplication/json
Body

Example generated

example

Successful Response

Media typeapplication/json
Response Admin Student Disable Ratchet Admin Student Disable Post
object

Example generated

{}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string

Example generated

{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}