Skip to main content
POST
Apply application environment secrets (browser session)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Path Parameters

application_id
string
required

Query Parameters

environment_id
string<uuid>

Select an owned canonical application environment, including a planned environment. A legacy cluster ID is accepted only when it identifies one complete environment, or an unassigned legacy cluster. Mixed or partial aliases return 409; refresh and select the canonical ID. Empty or repeated values are refused. Omit only for shared catalogue management or application-wide apply.

Response

Successful Response

The result of re-sealing an application's stored environment secrets into every deployment of it. No stored value appears in this model - the surface has no route that returns one.

revision
string
required

Selected environment effective revision, or shared-default revision for legacy application-wide apply. Each target resolves its own overrides.

applied_count
integer
required
skipped_count
integer
required
failed_count
integer
required
deployments
ApplyApplicationEnvSecretOutcome · object[]
required