---
title: "Update application"
method: POST
path: "/api/v1/app/{appId}"
tags: ["Applications"]
---

# Update application

`POST /api/v1/app/{appId}`

## Update Application
Updates a Stackhawk Application.

Currently, can only change an application name.

> 👥 Teams Supported
> If the application belongs to a StackHawk [Team](https://docs.stackhawk.com/web-app/teams.html), only members of the Team can call this endpoint.

> 🧾 Audited
> This is recorded as `APPLICATION_MODIFIED` [User Activity](https://apidocs.stackhawk.com/reference/listauditactivity#user-activity-types).


> Requires `write:application` permission.

## Path parameters

- `appId` string, uuid, required

## Request body

- ApplicationUpdateApplicationRequest — Request to update an existing StackHawk Application.
  - `applicationId` string — The UUID identifier of this application.
  - `applicationType` 'STANDARD' | 'CLOUD' — updated application type for this application.
  - `cloudScanTarget` ApplicationCloudScanTarget — Cloud Scan Target Configuration.
    - `isDomainVerified` boolean — Indicates if the domain is verified or not.
    - `targetURL` string — The target URL.
  - `dataType` 'NONE' | 'PII' | 'PCI' | 'FIN' | 'PKI' | 'HIPAA' | 'FERPA' — updated dataType for this application.
  - `name` string, required — updated name for this application.
  - `riskLevel` 'LOW' | 'MEDIUM' | 'HIGH' | 'CRITICAL' — updated riskLevel for this application.
  - `screenrMetadata` object — Screenr (flightpath) session metadata to set.

## Response `200`

Applications group scan results from HawkScan, and coordinate settings to influence HawkScan behavior. The application may also contain a specific environment name and id.
For more information, see [Applications](https://docs.stackhawk.com/web-app/applications.html).

- ApplicationApplication — Applications group scan results from HawkScan, and coordinate settings to influence HawkScan behavior. The application may also contain a specific environment name and id. For more information, see [Applications](https://docs.stackhawk.com/web-app/applications.html).
  - `applicationId` string — The UUID identifier of this application.
  - `applicationStatus` 'ACTIVE' | 'ENV_INCOMPLETE' — The status of this application. Either ACTIVE or ENV_INCOMPLETE.
  - `applicationType` 'STANDARD' | 'CLOUD' — The type of this application.
  - `cloudScanTarget` ApplicationCloudScanTarget — Cloud Scan Target Configuration.
    - `isDomainVerified` boolean — Indicates if the domain is verified or not.
    - `targetURL` string — The target URL.
  - `dataType` 'NONE' | 'PII' | 'PCI' | 'FIN' | 'PKI' | 'HIPAA' | 'FERPA' — The perceived dataType of this application. Currently unused.
  - `env` string — The name of this environment. Only set when requesting Application Environments.
  - `envId` string — The UUID identifier of this environment.
  - `name` string — The name of this application.
  - `organizationId` string — The UUID identifier of the organization that owns this application.
  - `riskLevel` 'LOW' | 'MEDIUM' | 'HIGH' | 'CRITICAL' — The perceived riskLevel of this application. Currently unused.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

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