Skip to main content
PUT
/
v1
/
logical-environments
/
{id}
Update a logical environment
curl --request PUT \
  --url https://api.app.chainloop.dev/v1/logical-environments/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>"
}
'
{
  "logical_environment": {
    "updated_at": "2000-01-23T04:56:07.000Z",
    "organization_id": "organization_id",
    "name": "name",
    "description": "description",
    "created_at": "2000-01-23T04:56:07.000Z",
    "id": "id"
  }
}

Authorizations

Authorization
string
header
required

Bearer token for authentication

Path Parameters

id
string
required

ID is the unique identifier of the logical environment to update

Body

application/json
name
string
description
string

Response

A successful response.

logical_environment
LogicalEnvironment represents a logical environment entity · object
Example:
{
"updated_at": "2000-01-23T04:56:07.000Z",
"organization_id": "organization_id",
"name": "name",
"description": "description",
"created_at": "2000-01-23T04:56:07.000Z",
"id": "id"
}