Update an existing environment.
post/midgard/v0.1/environment/{environmentId}
Updates an existing environment. Allows changing name, display order, and whether the environment is marked as main.Request
Authorization
X-AT
header
apiKey
Path Parameters
environmentId
integer
REQUIRED
Body
application/json
name
string
displayOrder
integer
main
boolean
Response
200Environment updated successfully.
403Access denied.
404Environment not found.
Shell cURL
shellShow schema
json