Skip to main content
Opik Documentation

Search documentation

Type to search this documentation.

Update environment by id

PATCH/v1/private/environments/{id}Update environment by id

Update environment by id

Parameters

idstring · uuidpathrequired

Request body

application/json
objectEnvironmentUpdate
colorstring

maxLength 20 · minLength 0

descriptionstring

maxLength 500 · minLength 0

namestring

maxLength 150 · minLength 0 · pattern ^[A-Za-z0-9_-]+$

positioninteger · int32
Example request
{
  "color": "string",
  "description": "string",
  "name": "string",
  "position": 0
}

Responses

204No Content
404Not foundapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
409Conflictapplication/json
objectErrorMessage
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
Documentation menu