Users
Authorizations
Path parameters
idanyRequired
Responses
200
Successful Response
application/json
401
Missing token or inactive user.
403
Not a superuser.
404
The user does not exist.
422
Validation Error
application/json
get
/users/{id}GET /users/{id} HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"id": null,
"email": "[email protected]",
"is_active": true,
"is_superuser": false,
"is_verified": false
}Authorizations
Path parameters
idanyRequired
Responses
204
Successful Response
No content
401
Missing token or inactive user.
403
Not a superuser.
404
The user does not exist.
422
Validation Error
application/json
delete
/users/{id}DELETE /users/{id} HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
No content
Authorizations
Path parameters
idanyRequired
Body
passwordstringOptional
emailstring · emailOptional
is_activebooleanOptional
is_superuserbooleanOptional
is_verifiedbooleanOptional
Responses
200
Successful Response
application/json
400
Bad Request
application/json
401
Missing token or inactive user.
403
Not a superuser.
404
The user does not exist.
422
Validation Error
application/json
patch
/users/{id}PATCH /users/{id} HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 100
{
"password": "text",
"email": "[email protected]",
"is_active": true,
"is_superuser": true,
"is_verified": true
}{
"id": null,
"email": "[email protected]",
"is_active": true,
"is_superuser": false,
"is_verified": false
}Last updated