Modify user flags (e.g., verified, bot, system) for multiple users in a single operation. Used for mass account updates or corrections.
curl --request POST \
--url https://api.fluxer.app/v1/admin/bulk/update-user-flags \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"user_ids": [
"<string>"
],
"add_flags": [
"<string>"
],
"remove_flags": [
"<string>"
]
}
'{
"successful": [
"<string>"
],
"failed": [
{
"id": "<string>",
"error": "<string>"
}
]
}Admin API key: Authorization: Admin <token>. Only valid for /admin/* endpoints.
List of user IDs to update
1000^(0|[1-9][0-9]*)$User flags to add to all specified users
64A single user flag value to add or remove
^[0-9]+$User flags to remove from all specified users
64A single user flag value to add or remove
^[0-9]+$curl --request POST \
--url https://api.fluxer.app/v1/admin/bulk/update-user-flags \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"user_ids": [
"<string>"
],
"add_flags": [
"<string>"
],
"remove_flags": [
"<string>"
]
}
'{
"successful": [
"<string>"
],
"failed": [
{
"id": "<string>",
"error": "<string>"
}
]
}