Body
Required
-
Allowed duration actual value
-
username
-
Download speed , 0 for unlimited ( only if speed_limit is True)
-
Set speed to be unlimited for guestuser
-
password
-
Internal comments
-
Data Limit ( only if data_limit is True)
-
Data Limit type (1,'Total'),(2,'Daily'),(3,'Weekly'),(4,'Monthly') ( only if data_limit is True)
-
Upload speed , 0 for unlimited ( only if speed_limit is True)
-
Set data to be unlimited for guestuser
-
Max devices allowed in this package
-
Type for time duration (1,'Minutes'),(2,'Hours'),(3,'Days')
POST
/ext/{siteid}/api/v1/guestuser/
curl \
--request POST 'http://api.example.com/ext/{siteid}/api/v1/guestuser/' \
--header "Authentication-Token: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"duration_val":42,"username":"string","speed_dl":42,"unlimited_speed":true,"password":"string","notes":"string","bytes_t":42,"bytes_type":42,"speed_ul":42,"unlimited_data":true,"num_devices":42,"duration_type":42}'
Request examples
{
"duration_val": 42,
"username": "string",
"speed_dl": 42,
"unlimited_speed": true,
"password": "string",
"notes": "string",
"bytes_t": 42,
"bytes_type": 42,
"speed_ul": 42,
"unlimited_data": true,
"num_devices": 42,
"duration_type": 42
}