Update environment
/api/v1/app/{appId}/env/{envId} Update Environment
Updates a Stackhawk Environment
Currently, can only change an environment name.
👥 Teams Supported If the application belongs to a StackHawk Team, only members of the Team can call this endpoint.
🧾 Audited This is recorded as
ENVIRONMENT_MODIFIEDUser Activity.
Requires
write:applicationpermission.
Path parameters
appIdstring · uuidrequiredUUID identifier for this StackHawk Application.
envIdstring · uuidrequiredUUID identifier for this StackHawk Environment.
Body
The UUID identifier of this application.
updated riskLevel for this environment.
7 available options
NONEPIIPCIFINPKIHIPAAFERPAThe UUID identifier of this environment.
updated name for this environment.
updated riskLevel for this environment.
4 available options
LOWMEDIUMHIGHCRITICALResponse
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.
The UUID identifier of this application.
The status of this application. Either ACTIVE or ENV_INCOMPLETE.
2 available options
ACTIVEENV_INCOMPLETEThe type of this application.
2 available options
STANDARDCLOUDThe perceived dataType of this application. Currently unused.
7 available options
NONEPIIPCIFINPKIHIPAAFERPAThe name of this environment. Only set when requesting Application Environments.
The UUID identifier of this environment.
The name of this application.
The UUID identifier of the organization that owns this application.
The perceived riskLevel of this application. Currently unused.
4 available options
LOWMEDIUMHIGHCRITICALThe UUID identifier of this application.
The status of this application. Either ACTIVE or ENV_INCOMPLETE.
2 available options
ACTIVEENV_INCOMPLETEThe type of this application.
2 available options
STANDARDCLOUDThe perceived dataType of this application. Currently unused.
7 available options
NONEPIIPCIFINPKIHIPAAFERPAThe name of this environment. Only set when requesting Application Environments.
The UUID identifier of this environment.
The name of this application.
The UUID identifier of the organization that owns this application.
The perceived riskLevel of this application. Currently unused.
4 available options
LOWMEDIUMHIGHCRITICALBad Request
Unauthorized