Create Guestuser(s)
Path parameters
-
Site database ID
Body Required
-
speed_ul integer
Upload speed , 0 for unlimited ( only if speed_limit is True)
-
password
-
bytes_t integer
Data Limit ( only if data_limit is True)
-
Allowed duration actual value
-
speed_dl integer
Download speed , 0 for unlimited ( only if speed_limit is True)
-
username
-
Type for time duration (1,'Minutes'),(2,'Hours'),(3,'Days')
-
unlimited_speed boolean
Set speed to be unlimited for guestuser
-
notes string
Internal comments
-
unlimited_data boolean
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)
-
Max devices allowed in this package
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
}