Skip to main content
Update cluster metadata, namespace scope, and write confirmation policy
curl --request PATCH \
  --url https://api.acornops.dev/api/v1/workspaces/{workspaceId}/kubernetes-clusters/{clusterId} \
  --header 'Content-Type: application/json' \
  --cookie acornops_cp_session= \
  --data '
{
  "name": "payments-prod-eks",
  "namespaceInclude": [
    "payments",
    "shared"
  ],
  "namespaceExclude": [
    "sandbox"
  ],
  "writeConfirmationRequiredOverride": null
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "status": "<string>",
  "connectionStatus": "<string>",
  "latestSnapshot": {
    "workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "clusterId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "targetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "timestamp": "2023-11-07T05:31:56Z"
  },
  "summary": {},
  "permissions": {},
  "namespaceInclude": [
    "<string>"
  ],
  "namespaceExclude": [
    "<string>"
  ],
  "writeConfirmationPolicy": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.acornops.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

acornops_cp_session
string
cookie
required

Path Parameters

workspaceId
string<uuid>
required
Example:

"4b930d98-add9-4924-ab26-3c16d96ec373"

clusterId
string<uuid>
required
Example:

"5b006e4c-509c-458a-9f02-5aafbdc01ade"

Body

application/json
name
string
Example:

"payments-prod-eks"

namespaceInclude
string[]
Example:
["payments", "shared"]
namespaceExclude
string[]
Example:
["sandbox"]
writeConfirmationRequiredOverride
boolean | null

Per-cluster write confirmation override. Use null to inherit the deployment default.

Example:

true

Response

Cluster updated.

id
string<uuid>
required
workspaceId
string<uuid>
required
targetType
enum<string>
required
Available options:
kubernetes,
virtual_machine
name
string
required
status
string
connectionStatus
string
latestSnapshot
object
summary
object
permissions
object
namespaceInclude
string[]
namespaceExclude
string[]
writeConfirmationPolicy
object