Skip to main content
PUT
Python (SDK)

Autorizações

Authorization
string
header
obrigatório

Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.

Cabeçalhos

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Parâmetros de caminho

environment_id
integer
obrigatório

Corpo

application/json
name
string
obrigatório
Required string length: 1 - 100
environment_variables
Environment Variables · object
setup_script
string | null
repositories
EnvironmentRepositoryModel · object[]
Maximum array length: 5

Resposta

Resposta Bem-Sucedida

environment_id
integer
obrigatório
name
string
obrigatório
environment_variables
Environment Variables · object
obrigatório
repositories
EnvironmentRepositoryModel · object[]
obrigatório
created_by_user_id
string
obrigatório
created_at
string<date-time>
obrigatório
updated_at
string<date-time>
obrigatório
setup_script
string | null