Create Guestuser(s)

POST /ext/{siteid}/api/v1/guestuser/

Path parameters

  • siteid string Required

    Site database ID

Body Required

  • speed_ul integer

    Upload speed , 0 for unlimited ( only if speed_limit is True)

  • password string Required

    password

  • bytes_t integer

    Data Limit ( only if data_limit is True)

  • duration_val integer Required

    Allowed duration actual value

  • speed_dl integer

    Download speed , 0 for unlimited ( only if speed_limit is True)

  • username string Required

    username

  • duration_type integer Required

    Type for time duration (1,'Minutes'),(2,'Hours'),(3,'Days')

  • Set speed to be unlimited for guestuser

  • notes string

    Internal comments

  • Set data to be unlimited for guestuser

  • bytes_type integer

    Data Limit type (1,'Total'),(2,'Daily'),(3,'Weekly'),(4,'Monthly') ( only if data_limit is True)

  • num_devices integer Required

    Max devices allowed in this package

Responses

POST /ext/{siteid}/api/v1/guestuser/
curl \
 -X POST https://api.spotipo.com/ext/{siteid}/api/v1/guestuser/ \
 -H "Authentication-Token: $API_KEY" \
 -d '{"speed_ul":42,"password":"string","bytes_t":42,"duration_val":42,"speed_dl":42,"username":"string","duration_type":42,"unlimited_speed":true,"notes":"string","unlimited_data":true,"bytes_type":42,"num_devices":42}'
Request example
{
  "speed_ul": 42,
  "password": "string",
  "bytes_t": 42,
  "duration_val": 42,
  "speed_dl": 42,
  "username": "string",
  "duration_type": 42,
  "unlimited_speed": true,
  "notes": "string",
  "unlimited_data": true,
  "bytes_type": 42,
  "num_devices": 42
}