Introduction
API Reference
- Profile
- Workspace
- POSTAdd member to workspace
- DELRemove member from workspace
- PATCHUpdate member permissions
- GETGet all workspaces
- POSTCreate workspace
- GETGet workspace info
- DELDelete workspace
- PATCHRename workspace
- GETGet profiles count
- GETGet all profiles in workspace
- DELDelete multiple profiles in workspace
- POSTTransfer profile
- POST
- Share
- Template
- Proxy
- User
- Folder
Cloud Browser
Python SDK
Limitations
Workspace
Update member permissions
Updates a member’s permissions in a workspace.
PATCH
/
workspaces
/
{wid}
/
members
/
{id}
curl --request PATCH \
--url https://api.gologin.com/workspaces/{wid}/members/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"limitedAccess": false,
"role": "owner",
"folders": [
{
"name": "<string>",
"role": {}
}
]
}'
{
"id": "<string>",
"email": "<string>",
"user": "<string>",
"role": {},
"limitedAccess": true,
"folders": [
{
"name": "<string>",
"role": {},
"permissions": {
"manageAccess": true,
"manageAdminAccess": true
}
}
],
"joined": true,
"invitedByEmail": "<string>",
"lastActiveAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"permissions": {
"kickMember": true,
"manageWorkspaceWideAccess": true,
"manageWorkspaceWideAdminAccess": true,
"viewMember": true
},
"workspaceVisited": true
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200 - application/json
The response is of type object
.
curl --request PATCH \
--url https://api.gologin.com/workspaces/{wid}/members/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"limitedAccess": false,
"role": "owner",
"folders": [
{
"name": "<string>",
"role": {}
}
]
}'
{
"id": "<string>",
"email": "<string>",
"user": "<string>",
"role": {},
"limitedAccess": true,
"folders": [
{
"name": "<string>",
"role": {},
"permissions": {
"manageAccess": true,
"manageAdminAccess": true
}
}
],
"joined": true,
"invitedByEmail": "<string>",
"lastActiveAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"permissions": {
"kickMember": true,
"manageWorkspaceWideAccess": true,
"manageWorkspaceWideAdminAccess": true,
"viewMember": true
},
"workspaceVisited": true
}