internal

Set Adopted Deployment Environment

Record the environment of a deployment imported from a namespace (worker only).

Discovery does not capture environment variables, so a migrated deployment's record would lose its secret references at the first edit.

patch/internal/clusters/{cluster_id}/adopted-deployments/{namespace}/environment

Request

  • Base URL: https://api.mengi.cloud (the document declares no server; this is the origin it was published from)
  • URL: https://api.mengi.cloud/internal/clusters/{cluster_id}/adopted-deployments/{namespace}/environment
  • Auth: none declared. Required headers: x-service-token

Path parameters

cluster_idstring uuid required
namespacestring required

Headers

x-service-tokenstring required

Request body

environment_variablesobject[] required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.