Skip to main content
DELETE
/
api
/
users
/
{id}
Delete user
curl --request DELETE \
  --url https://api.example.com/api/users/{id} \
  --header 'Authorization: Bearer <token>'
{
  "name": "<string>",
  "pk": 123,
  "is_active": true
}

Authorizations

Authorization
string
header
required

JWT token obtained from AWS Cognito or custom authentication service

Path Parameters

id
integer
required

A unique integer value identifying this user.

Response

200 - application/json
name
string
required
pk
integer
required
is_active
boolean
required