---
updatedAt: 2026-08-24T15:48:49.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/application-security/llms.txt
---

# Update an application

This updates an existing application on an `API` type configuration. The request replaces the application in full, so send every value you want it to keep: an omitted `description` is removed and omitted `tags` are cleared.

# OpenAPI definition

```json
{
  "externalDocs": {
    "description": "See documentation for Akamai's Application Security API",
    "url": "https://techdocs.akamai.com/application-security/reference"
  },
  "info": {
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "Firewall for AI Configuration",
    "version": "v1"
  },
  "openapi": "3.0.1",
  "paths": {
    "/fai-configurations/{faiConfigId}/applications/{userApplicationId}": {
      "put": {
        "description": "This updates an existing application on an `API` type configuration. The request replaces the application in full, so send every value you want it to keep: an omitted `description` is removed and omitted `tags` are cleared.",
        "externalDocs": {
          "description": "See documentation for this operation in Akamai's Application Security API",
          "url": "https://techdocs.akamai.com/application-security/reference/put-application"
        },
        "operationId": "put-application",
        "parameters": [
          {
            "description": "Identifier for the FAI configuration.",
            "example": "12345",
            "in": "path",
            "name": "faiConfigId",
            "required": true,
            "schema": {
              "pattern": "^[0-9]+$",
              "type": "string"
            },
            "x-akamai": {
              "file-path": "parameters/fai-config-id-path.yaml"
            }
          },
          {
            "description": "Unique identifier for the user application.",
            "example": "9164412924838543359",
            "in": "path",
            "name": "userApplicationId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-akamai": {
              "file-path": "parameters/user-application-id-path.yaml"
            }
          },
          {
            "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).",
            "in": "query",
            "name": "accountSwitchKey",
            "required": false,
            "schema": {
              "example": "1-5C0YLB:1-8BYUX",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "example": {
                "applicationName": "Customer Support Chatbot",
                "description": "AI assistant answering customer questions on example.com and example.net",
                "tags": [
                  "llm-gateway",
                  "production"
                ]
              },
              "schema": {
                "additionalProperties": false,
                "description": "Represents an application registered on an `API` type Firewall for AI configuration.",
                "properties": {
                  "applicationName": {
                    "description": "Display name of the application. Must be unique within the configuration.",
                    "maxLength": 255,
                    "minLength": 1,
                    "type": "string"
                  },
                  "description": {
                    "description": "Description of the application.",
                    "maxLength": 255,
                    "minLength": 1,
                    "type": "string"
                  },
                  "tags": {
                    "description": "Tags for categorization.",
                    "items": {
                      "maxLength": 255,
                      "minLength": 1,
                      "type": "string"
                    },
                    "maxItems": 9,
                    "type": "array"
                  },
                  "userApplicationId": {
                    "description": "__Read-only__ System-generated unique identifier. Pass this value to the Detection API to associate detections with this application.",
                    "readOnly": true,
                    "type": "string"
                  }
                },
                "required": [
                  "applicationName"
                ],
                "type": "object",
                "x-akamai": {
                  "file-path": "schemas/application.yaml"
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "example": {
                  "applicationName": "Customer Support Chatbot",
                  "description": "AI assistant answering customer questions on example.com and example.net",
                  "tags": [
                    "llm-gateway",
                    "production"
                  ],
                  "userApplicationId": "9164412924838543359"
                },
                "schema": {
                  "additionalProperties": false,
                  "description": "Represents an application registered on an `API` type Firewall for AI configuration.",
                  "properties": {
                    "applicationName": {
                      "description": "Display name of the application. Must be unique within the configuration.",
                      "maxLength": 255,
                      "minLength": 1,
                      "type": "string"
                    },
                    "description": {
                      "description": "Description of the application.",
                      "maxLength": 255,
                      "minLength": 1,
                      "type": "string"
                    },
                    "tags": {
                      "description": "Tags for categorization.",
                      "items": {
                        "maxLength": 255,
                        "minLength": 1,
                        "type": "string"
                      },
                      "maxItems": 9,
                      "type": "array"
                    },
                    "userApplicationId": {
                      "description": "__Read-only__ System-generated unique identifier. Pass this value to the Detection API to associate detections with this application.",
                      "readOnly": true,
                      "type": "string"
                    }
                  },
                  "required": [
                    "applicationName"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/application.yaml"
                  }
                }
              }
            },
            "description": "Application updated successfully."
          },
          "400": {
            "content": {
              "application/problem+json": {
                "example": {
                  "detail": "faiConfigId must be a number, but the request has \"abc\". Use a faiConfigId from List FAI configurations.",
                  "instance": "https://problems.luna.akamaiapis.net/appsec/error-instances/00241e66342ab3ed",
                  "status": 400,
                  "title": "Invalid Input Error",
                  "type": "https://problems.luna.akamaiapis.net/appsec/error-types/INVALID-INPUT-ERROR"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Details the errors you can receive.",
                  "properties": {
                    "detail": {
                      "description": "The detailed error message.",
                      "type": "string"
                    },
                    "fieldErrors": {
                      "description": "Pointers to fields for which invalid input was provided, whose values are messages detailing the reason this input was invalid for this field.",
                      "type": "object"
                    },
                    "instance": {
                      "description": "The non-referenceable URI that indicates the error instance.",
                      "example": "https://problems.luna.akamaiapis.net/api-definitions/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP status code.",
                      "example": 404,
                      "type": "integer"
                    },
                    "title": {
                      "description": "The error title.",
                      "example": "Not Found",
                      "type": "string"
                    },
                    "type": {
                      "description": "The URL for the error type.",
                      "example": "https://problems.luna.akamaiapis.net/api-definitions/error-types/NOT-FOUND",
                      "type": "string"
                    }
                  },
                  "required": [
                    "title",
                    "type",
                    "detail",
                    "instance",
                    "status"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem-details.yaml"
                  }
                }
              }
            },
            "description": "[Bad request](ref:400). The request isn't valid, for example an id that isn't a number, a missing or out-of-range field, a value that isn't allowed, or rule settings that conflict. The `detail` names the field, the value sent, and what to change.",
            "x-akamai": {
              "file-path": "errors/400-fai.yaml"
            }
          },
          "401": {
            "content": {
              "application/problem+json": {
                "example": {
                  "detail": "The signature does not match",
                  "instance": "https://problems.luna.akamaiapis.net/appsec/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749",
                  "status": 401,
                  "title": "Not authorized",
                  "type": "https://problems.luna-dev.akamaiapis.net/-/pep-authn/deny"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Details the errors you can receive.",
                  "properties": {
                    "detail": {
                      "description": "The detailed error message.",
                      "type": "string"
                    },
                    "fieldErrors": {
                      "description": "Pointers to fields for which invalid input was provided, whose values are messages detailing the reason this input was invalid for this field.",
                      "type": "object"
                    },
                    "instance": {
                      "description": "The non-referenceable URI that indicates the error instance.",
                      "example": "https://problems.luna.akamaiapis.net/api-definitions/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP status code.",
                      "example": 404,
                      "type": "integer"
                    },
                    "title": {
                      "description": "The error title.",
                      "example": "Not Found",
                      "type": "string"
                    },
                    "type": {
                      "description": "The URL for the error type.",
                      "example": "https://problems.luna.akamaiapis.net/api-definitions/error-types/NOT-FOUND",
                      "type": "string"
                    }
                  },
                  "required": [
                    "title",
                    "type",
                    "detail",
                    "instance",
                    "status"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem-details.yaml"
                  }
                }
              }
            },
            "description": "[Unauthorized](ref:401).",
            "x-akamai": {
              "file-path": "errors/401.yaml"
            }
          },
          "403": {
            "content": {
              "application/problem+json": {
                "example": {
                  "detail": "You don't have permission to read configuration 12345. Ask your Akamai administrator for access to the group that owns it.",
                  "instance": "https://problems.luna.akamaiapis.net/fai-config-api/error-instances/00264e4851db2f06",
                  "status": 403,
                  "title": "This operation is invalid",
                  "type": "https://problems.luna.akamaiapis.net/fai-config-api/error-types/FORBIDDEN-OPERATION"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Details the errors you can receive.",
                  "properties": {
                    "detail": {
                      "description": "The detailed error message.",
                      "type": "string"
                    },
                    "fieldErrors": {
                      "description": "Pointers to fields for which invalid input was provided, whose values are messages detailing the reason this input was invalid for this field.",
                      "type": "object"
                    },
                    "instance": {
                      "description": "The non-referenceable URI that indicates the error instance.",
                      "example": "https://problems.luna.akamaiapis.net/api-definitions/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP status code.",
                      "example": 404,
                      "type": "integer"
                    },
                    "title": {
                      "description": "The error title.",
                      "example": "Not Found",
                      "type": "string"
                    },
                    "type": {
                      "description": "The URL for the error type.",
                      "example": "https://problems.luna.akamaiapis.net/api-definitions/error-types/NOT-FOUND",
                      "type": "string"
                    }
                  },
                  "required": [
                    "title",
                    "type",
                    "detail",
                    "instance",
                    "status"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem-details.yaml"
                  }
                }
              }
            },
            "description": "[Forbidden](ref:403). You don't have the access this operation needs, or your account isn't entitled to a feature the request uses, such as a rule, the `MODIFY` action, or `languages`. The `detail` says which access or entitlement to ask for.",
            "x-akamai": {
              "file-path": "errors/403-fai.yaml"
            }
          },
          "404": {
            "content": {
              "application/problem+json": {
                "example": {
                  "detail": "Configuration 12345 doesn't exist in your account. Check the faiConfigId, or run List FAI configurations to find it.",
                  "instance": "https://problems.luna.akamaiapis.net/fai-config-api/error-instances/0026e8bba97ea06e",
                  "status": 404,
                  "title": "Not Found",
                  "type": "https://problems.luna.akamaiapis.net/fai-config-api/error-types/NOT-FOUND"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Details the errors you can receive.",
                  "properties": {
                    "detail": {
                      "description": "The detailed error message.",
                      "type": "string"
                    },
                    "fieldErrors": {
                      "description": "Pointers to fields for which invalid input was provided, whose values are messages detailing the reason this input was invalid for this field.",
                      "type": "object"
                    },
                    "instance": {
                      "description": "The non-referenceable URI that indicates the error instance.",
                      "example": "https://problems.luna.akamaiapis.net/api-definitions/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP status code.",
                      "example": 404,
                      "type": "integer"
                    },
                    "title": {
                      "description": "The error title.",
                      "example": "Not Found",
                      "type": "string"
                    },
                    "type": {
                      "description": "The URL for the error type.",
                      "example": "https://problems.luna.akamaiapis.net/api-definitions/error-types/NOT-FOUND",
                      "type": "string"
                    }
                  },
                  "required": [
                    "title",
                    "type",
                    "detail",
                    "instance",
                    "status"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem-details.yaml"
                  }
                }
              }
            },
            "description": "[Not found](ref:404). A resource in the URL doesn't exist: the configuration, version, custom PII type, application, access key, or activation. The `detail` names the missing id and where to find valid ones.",
            "x-akamai": {
              "file-path": "errors/404-fai.yaml"
            }
          },
          "409": {
            "content": {
              "application/problem+json": {
                "example": {
                  "detail": "An application named \"Customer Support Chatbot\" already exists on configuration 12345.",
                  "instance": "https://problems.luna.akamaiapis.net/fai-config-api/error-instances/5f2c8b91d7e64a03",
                  "status": 409,
                  "title": "Conflict",
                  "type": "https://problems.luna.akamaiapis.net/fai-config-api/error-types/CONFLICT"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Details the errors you can receive.",
                  "properties": {
                    "detail": {
                      "description": "The detailed error message.",
                      "type": "string"
                    },
                    "fieldErrors": {
                      "description": "Pointers to fields for which invalid input was provided, whose values are messages detailing the reason this input was invalid for this field.",
                      "type": "object"
                    },
                    "instance": {
                      "description": "The non-referenceable URI that indicates the error instance.",
                      "example": "https://problems.luna.akamaiapis.net/api-definitions/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP status code.",
                      "example": 404,
                      "type": "integer"
                    },
                    "title": {
                      "description": "The error title.",
                      "example": "Not Found",
                      "type": "string"
                    },
                    "type": {
                      "description": "The URL for the error type.",
                      "example": "https://problems.luna.akamaiapis.net/api-definitions/error-types/NOT-FOUND",
                      "type": "string"
                    }
                  },
                  "required": [
                    "title",
                    "type",
                    "detail",
                    "instance",
                    "status"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem-details.yaml"
                  }
                }
              }
            },
            "description": "[Conflict](ref:409). The application conflicts with the configuration's current state. Either the configuration has no active version yet, it already has the maximum number of applications, or another application on it already uses that name.",
            "x-akamai": {
              "file-path": "errors/409-fai-application-conflict.yaml"
            }
          },
          "500": {
            "content": {
              "application/problem+json": {
                "example": {
                  "detail": "Something went wrong while processing the request. Try again later. If it keeps happening, contact Akamai support and include the instance value.",
                  "instance": "https://problems.luna.akamaiapis.net/appsec/error-instances/00276fe0962da3a9",
                  "status": 500,
                  "title": "Internal Server Error",
                  "type": "https://problems.luna.akamaiapis.net/appsec/error-types/INTERNAL-SERVER-ERROR"
                },
                "schema": {
                  "additionalProperties": true,
                  "description": "Details the errors you can receive.",
                  "properties": {
                    "detail": {
                      "description": "The detailed error message.",
                      "type": "string"
                    },
                    "fieldErrors": {
                      "description": "Pointers to fields for which invalid input was provided, whose values are messages detailing the reason this input was invalid for this field.",
                      "type": "object"
                    },
                    "instance": {
                      "description": "The non-referenceable URI that indicates the error instance.",
                      "example": "https://problems.luna.akamaiapis.net/api-definitions/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749",
                      "type": "string"
                    },
                    "status": {
                      "description": "The HTTP status code.",
                      "example": 404,
                      "type": "integer"
                    },
                    "title": {
                      "description": "The error title.",
                      "example": "Not Found",
                      "type": "string"
                    },
                    "type": {
                      "description": "The URL for the error type.",
                      "example": "https://problems.luna.akamaiapis.net/api-definitions/error-types/NOT-FOUND",
                      "type": "string"
                    }
                  },
                  "required": [
                    "title",
                    "type",
                    "detail",
                    "instance",
                    "status"
                  ],
                  "type": "object",
                  "x-akamai": {
                    "file-path": "schemas/problem-details.yaml"
                  }
                }
              }
            },
            "description": "[Internal server error](ref:500). Something failed on Akamai's side. Try again later. If it keeps happening, contact Akamai support with the `instance` value.",
            "x-akamai": {
              "file-path": "errors/500-fai.yaml"
            }
          }
        },
        "summary": "Update an application",
        "tags": [
          "Applications"
        ],
        "x-akamai": {
          "path-info": "/fai-configurations/{faiConfigId}/applications/{userApplicationId}"
        }
      },
      "x-akamai": {
        "file-path": "paths/fai-configuration-application.yaml"
      }
    }
  },
  "servers": [
    {
      "url": "https://{hostname}/appsec/v1"
    }
  ],
  "tags": [
    {
      "description": "Manage your AI applications.",
      "name": "Applications"
    }
  ],
  "x-akamai": {
    "auth-type": "EDGE_GRID",
    "file-path": "07-fai-configuration.yaml"
  },
  "x-readme": {
    "explorer-enabled": false,
    "samples-languages": [
      "curl",
      "python",
      "node"
    ]
  }
}
```

# Sibling pages

* [Create an application](https://techdocs.akamai.com/application-security/reference/post-application.md)
* [List applications](https://techdocs.akamai.com/application-security/reference/get-applications.md)
* [Delete an application](https://techdocs.akamai.com/application-security/reference/delete-application.md)