Skip to main content
POST
/
admin
/
visionary-slots
/
swap
Swap visionary slot reservations
curl --request POST \
  --url https://api.fluxer.app/v1/admin/visionary-slots/swap \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "slot_index_a": 1073741824,
  "slot_index_b": 1073741824
}
'
{
  "success": true
}

Authorizations

Authorization
string
header
required

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

Body

application/json
slot_index_a
integer<int32>
required

First slot index to swap (must be >= 1)

Required range: 1 <= x <= 2147483647
slot_index_b
integer<int32>
required

Second slot index to swap (must be >= 1)

Required range: 1 <= x <= 2147483647

Response

Success

success
enum<boolean>
required
Available options:
true