Skip to main content
PUT
/
api
/
context
/
{context_id}
Context Update
curl --request PUT \
  --url https://app.apigene.ai/api/context/{context_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "apps": []
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: 'Authorization: Bearer {token}'

Path Parameters

context_id
string
required

Body

application/json
name
string
required

Name of the context

description
string
required

Description of the context

apps
string[]

List of associated apps

Response

Successful Response