Skip to main content
PATCH
/
workspaces
/
{id}
Update a workspace
curl --request PATCH \
  --url https://eu-cloudflare.vg-stuff.com/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": "<unknown>"
}

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 id of the workspace

Body

application/json
updates
object
required

Response

Successful response

success
boolean
required
message
string
required
data
any