Users

Users:User

get
Authorizations
Path parameters
idanyRequired
Responses
200

Successful Response

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
}

Users:Delete User

delete
Authorizations
Path parameters
idanyRequired
Responses
204

Successful Response

No content

delete
/users/{id}
DELETE /users/{id} HTTP/1.1
Host: 
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*

No content

Users:Patch User

patch
Authorizations
Path parameters
idanyRequired
Body
passwordstringOptional
emailstring · emailOptional
is_activebooleanOptional
is_superuserbooleanOptional
is_verifiedbooleanOptional
Responses
200

Successful Response

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