Skip to main content
POST
/
api
/
user
/
manage
Manage User Status
curl --request POST \
  --url https://api.ldx.dev/api/user/manage \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": 123,
  "action": "disable"
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.liandanxia.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Body

application/json
id
integer
action
enum<string>
Available options:
disable,
enable,
delete,
promote,
demote

Response

200

Success