Introduction
API Reference
- Profile
- Workspace
- Share
- Template
- Proxy
- User
- Folder
Cloud Browser
Python SDK
Limitations
Template
Update template
Updates a template.
PUT
/
templates
/
{id}
curl --request PUT \
--url https://api.gologin.com/templates/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "My Template",
"browser": {
"os": "win",
"osSpec": "win11",
"minResolution": "1920x1080",
"maxResolution": "1920x1080",
"uaUserVersion": "100",
"language": "en-US",
"storage": {
"local": true,
"extensions": true,
"bookmarks": true,
"history": true,
"passwords": true,
"session": true,
"indexedDb": false,
"enableExternalExtensions": false
},
"dns": "8.8.8.8",
"bookmarks": {
"BookmarkName": {
"name": "Bookmark Name",
"type": "folder",
"children": [
{
"name": "Bookmark Name",
"type": "url",
"url": "https://www.google.com"
}
]
}
},
"launchArguments": "--headless",
"autoLang": true
},
"proxy": {
"quickProfileCreate": {}
}
}'
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Id of the profile.
Body
application/json
curl --request PUT \
--url https://api.gologin.com/templates/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "My Template",
"browser": {
"os": "win",
"osSpec": "win11",
"minResolution": "1920x1080",
"maxResolution": "1920x1080",
"uaUserVersion": "100",
"language": "en-US",
"storage": {
"local": true,
"extensions": true,
"bookmarks": true,
"history": true,
"passwords": true,
"session": true,
"indexedDb": false,
"enableExternalExtensions": false
},
"dns": "8.8.8.8",
"bookmarks": {
"BookmarkName": {
"name": "Bookmark Name",
"type": "folder",
"children": [
{
"name": "Bookmark Name",
"type": "url",
"url": "https://www.google.com"
}
]
}
},
"launchArguments": "--headless",
"autoLang": true
},
"proxy": {
"quickProfileCreate": {}
}
}'