v1

latestOpenAPI 3.1.02026-07-261690320.7 KB

Create app

Create a new Zen app

post/firewall/apps

Request body

namestring required

The name of the app.

environment'production' | 'staging' | 'development' required

The environment type of this app.

repo_idinteger

An optional id of the repo the app is linked to

Example request

{
  "name": "Webshop",
  "environment": "production",
  "repo_id": 42
}

Response

The app has been successfully created

app_idinteger

The ID of the newly created app in Aikido.

tokenstring

The newly rotated token.

Example response

{
  "app_id": 1,
  "token": "AIK_RUNTIME_98_420_N3V3r60NN461V3Y0UUPN3V3r60NN4137Y0UD0WNN3V3r60NN"
}