PATCH
/
workspaces
/
{wid}
/
rename
Rename workspace
curl --request PATCH \
  --url https://api.gologin.com/workspaces/{wid}/rename \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "My new Workspace"
}'
{
  "id": "<string>",
  "name": "<string>",
  "owner": "<string>",
  "planId": "<string>",
  "planName": "<string>",
  "planMembersMax": 123,
  "isPlanUnlimited": true,
  "planExpiresAt": "2023-11-07T05:31:56Z",
  "paymentIsTrial": true,
  "isUnpaid": true,
  "memberCount": 123,
  "profilesCount": 123,
  "planProfilesMax": 123,
  "permissions": {
    "canAddBilling": true,
    "canClaimProfilesWithoutFolder": true
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

wid
string
required

Workspace ID

Body

application/json
name
string
required

New name of the workspace.

Example:

"My new Workspace"

Response

200 - application/json
id
string
required
name
string
required
owner
string
required
planId
string
required
planName
string
required
planMembersMax
number
required
isPlanUnlimited
boolean
required
planExpiresAt
string<date-time>
required
paymentIsTrial
boolean
required
isUnpaid
boolean
required
memberCount
number
required
profilesCount
number
required
planProfilesMax
number
required
permissions
object
required