Skip to main content
POST
/
admin
/
messages
/
delete-all
Delete all user messages
curl --request POST \
  --url https://api.fluxer.app/v1/admin/messages/delete-all \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "user_id": "<string>",
  "dry_run": true
}
'
{
  "success": true,
  "dry_run": true,
  "channel_count": 1073741823,
  "message_count": 1073741823,
  "job_id": "<string>"
}

Authorizations

Authorization
string
header
required

Admin API key: Authorization: Admin <token>. Only valid for /admin/* endpoints.

Body

application/json
user_id
string<snowflake>
required
dry_run
boolean

Response

Success

success
enum<boolean>
required
Available options:
true
dry_run
boolean
required
channel_count
integer<int32>
required
Required range: 0 <= x <= 2147483647
message_count
integer<int32>
required
Required range: 0 <= x <= 2147483647
job_id
string