Skip to main content
PATCH
Update an environment

Authorizations

Authorization
string
header
required

Use JWT token for authentication

Path Parameters

environmentId
string
required

Environment id

Body

application/json
name
string

Environment name

Example:

"Reporting box"

description
string

What this environment is for

projectId
string

Project id, or null to unassign the environment from its project.

imgUrl
string

Image URL for the environment

availableToolsGroupsUids
string[]

Tool groups (MCPs and built-in tools) available on this environment

knowledgeDocumentIds
string[]

Knowledge documents attached

knowledgeFolderIds
string[]

Knowledge folders attached

knowledgeSkills
object[]

Knowledge skills attached

envVars
object

Environment-level variables, encrypted at rest and returned masked. Available to every agent and assistant connected to this environment.

Example:
sandboxConfig
object

Sandbox configuration

Response

Success