---
title: "POST /UpdateApplication"
method: POST
path: "/UpdateApplication"
---

# POST /UpdateApplication

`POST /UpdateApplication`

Updates the configuration of an existing application, including the IAM role and default KMS key.

## Request body

- object
  - `applicationId` string, required — Application identifier.
  - `roleArn` string — ARN of the IAM role that the application uses to access AWS resources on your behalf.
  - `defaultKmsKeyId` string — Identifier of a KMS key. Can be a key ID, key ARN, alias name, or alias ARN.

## Response `200`

Success

- UpdateApplicationResponse
  - `applicationId` string, required — The unique identifier of the updated application.

---

[API](https://skmtc.net/aws/apis/securityagent.md) · [All operations](https://skmtc.net/aws/apis/securityagent/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/securityagent/versions/cad56717d636/schema)
