Queue multiple users for deactivation/deletion with an optional grace period. Deletions are processed asynchronously according to retention policies.
curl --request POST \
--url https://api.fluxer.app/v1/admin/bulk/schedule-user-deletion \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"user_ids": [
"<string>"
],
"reason_code": 1073741823,
"public_reason": "<string>",
"days_until_deletion": 183
}
'{
"successful": [
"<string>"
],
"failed": [
{
"id": "<string>",
"error": "<string>"
}
]
}Admin API key: Authorization: Admin <token>. Only valid for /admin/* endpoints.
List of user IDs to schedule deletion for
1000Code indicating the reason for deletion
0 <= x <= 2147483647Public-facing reason for the deletion
Number of days until the accounts are deleted
1 <= x <= 365curl --request POST \
--url https://api.fluxer.app/v1/admin/bulk/schedule-user-deletion \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"user_ids": [
"<string>"
],
"reason_code": 1073741823,
"public_reason": "<string>",
"days_until_deletion": 183
}
'{
"successful": [
"<string>"
],
"failed": [
{
"id": "<string>",
"error": "<string>"
}
]
}