Skip to main content
DELETE
/
api
/
v1
/
auth
/
user
/
id
/
{id}
/
soft
Soft delete user by ID
curl --request DELETE \
  --url https://crypto.westminister.tech/api/v1/auth/user/id/{id}/soft \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "is_active": false
}
'
{
  "message": "user deleted successfully"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

User ID (UUID).

Body

application/json
is_active
boolean

Optionally set false to mark inactive on soft delete.

Response

200 - application/json

User soft deleted

message
string

Confirmation message.