Skip to main content
POST
/
admin
/
visionary-slots
/
reserve
Reserve or unreserve a visionary slot
curl --request POST \
  --url https://api.fluxer.app/v1/admin/visionary-slots/reserve \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "slot_index": 1073741824,
  "user_id": "<string>"
}
'
{
  "success": true
}

Authorizations

Authorization
string
header
required

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

Body

application/json
slot_index
integer<int32>
required

Slot index to reserve (must be >= 1)

Required range: 1 <= x <= 2147483647
user_id
string<int64> | null
required

User ID to reserve the slot for, or null to unreserve (special value -1 is also valid)

Response

Success

success
enum<boolean>
required
Available options:
true