Skip to main content
PATCH
/
workspaces
/
{id}
Update a workspace
curl --request PATCH \
  --url https://eu-gcp-api.vg-stuff.com/v3/workspaces/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "updates": {
    "workspaceName": "<string>",
    "workspaceEmails": [
      "<string>"
    ],
    "automaticBilling": true,
    "marketplaceProfile": {
      "username": "<string>",
      "description": "<string>",
      "email": "<string>",
      "photoURL": "<string>"
    }
  }
}
'
{
  "success": true,
  "message": "<string>",
  "data": {}
}

Example Request

{
  "updates": {
    "workspaceName": "Updated Workspace Name",
    "marketplaceProfile": {
      "username": "my-unique-username",
      "description": "We build AI agents"
    }
  }
}
Uses partial updates - only provided fields are changed. The marketplace username must be unique.
Set up marketplaceProfile to publish and share your agents on the marketplace.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The unique identifier of the workspace to update

Body

application/json
updates
object
required

Workspace fields to update

Response

Successful response

success
boolean
required

Indicates if the update was successful

message
string
required

Response message

data
object

Updated workspace object