# Update a guestuser via username **PUT /ext/{siteid}/api/v1/guestuser/u/{username}** Note all the devices connected to this account will be disconnected ## Servers - https://api.spotipo.com: https://api.spotipo.com () ## Authentication methods - Api key auth ## Parameters ### Headers - **X-Fields** (string(mask)) An optional fields mask ### Path parameters - **username** (string) Guestuser Username - **siteid** (string) Site database ID ### Body: application/json (object) - **unlimited_speed** (boolean) Set speed to be unlimited for guestuser - **password** (string) password - **num_devices** (integer) Max devices allowed in this package - **unlimited_data** (boolean) Set data to be unlimited for guestuser - **duration_val** (integer) Allowed duration actual value - **duration_type** (integer) Type for time duration (1,'Minutes'),(2,'Hours'),(3,'Days') - **speed_dl** (integer) Download speed , 0 for unlimited ( only if speed_limit is True) - **bytes_t** (integer) Data Limit ( only if data_limit is True) - **bytes_type** (integer) Data Limit type (1,'Total'),(2,'Daily'),(3,'Weekly'),(4,'Monthly') ( only if data_limit is True) - **username** (string) username - **notes** (string) Internal comments - **speed_ul** (integer) Upload speed , 0 for unlimited ( only if speed_limit is True) ## Responses ### 200 Success #### Body: application/json (object) - **unlimited_speed** (boolean) Set speed to be unlimited for guestuser - **id** (integer) - **status** (object) Guest account status [unused|inuse|expired] - **num_devices** (integer) Max devices allowed in this package - **unlimited_data** (boolean) Set data to be unlimited for guestuser - **name** (object) Guest name - **duration_val** (integer) Allowed duration actual value - **duration_type** (integer) Type for time duration (1,'Minutes'),(2,'Hours'),(3,'Days') - **speed_dl** (integer) Download speed , 0 for unlimited ( only if speed_limit is True) - **auths** (array[object]) - **bytes_t** (integer) Data Limit ( only if data_limit is True) - **bytes_type** (integer) Data Limit type (1,'Total'),(2,'Daily'),(3,'Weekly'),(4,'Monthly') ( only if data_limit is True) - **email** (string) Email - **username** (string) username - **notes** (string) Internal comments - **speed_ul** (integer) Upload speed , 0 for unlimited ( only if speed_limit is True) [Powered by Bump.sh](https://bump.sh)