---
title: "Update app"
method: PUT
path: "/firewall/apps/{app_id}"
---

# Update app

`PUT /firewall/apps/{app_id}`

## Request

- Base URL: `https://app.aikido.dev/api/public/v1`
- URL: `https://app.aikido.dev/api/public/v1/firewall/apps/{app_id}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://app.aikido.io/api/oauth/token` scopes: `firewall:write`

update an existing Zen app

## Path parameters

- `app_id` integer, required

## Request body

- object
  - `name` string, required: The name of the app.
  - `environment` 'production' | 'staging' | 'development', required: The environment type of this app.

## Response `200`

The app has been successfully created

- object
  - `success` boolean: The boolean true indicating success

## Other responses

- `404`: App not found

---

[API](https://skmtc.dev/aikido/apis/aikido-security-api-documentation.md) - [All operations](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/revisions/da8691338133?raw)
