---
title: "PATCH /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/actions/{identifier}"
method: PATCH
path: "/v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/actions/{identifier}"
---

# PATCH /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/actions/{identifier}

`PATCH /v2/domains/{domainIdentifier}/environments/{environmentIdentifier}/actions/{identifier}`

Updates an environment action.

## Path parameters

- `domainIdentifier` string, required
- `environmentIdentifier` string, required
- `identifier` string, required

## Request body

- object
  - `parameters` object — The parameters of the environment action.
    - `awsConsoleLink` object — The console link specified as part of the environment action.
      - `uri` string — The URI of the console link specified as part of the environment action.
  - `name` string — The name of the environment action.
  - `description` string — The description of the environment action.

## Response `200`

Success

- UpdateEnvironmentActionOutput
  - `domainId` string, required — The domain ID of the environment action.
  - `environmentId` string, required — The environment ID of the environment action.
  - `id` string, required — The ID of the environment action.
  - `name` string, required — The name of the environment action.
  - `parameters` object, required — The parameters of the environment action.
    - `awsConsoleLink` object — The console link specified as part of the environment action.
      - `uri` string — The URI of the console link specified as part of the environment action.
  - `description` string — The description of the environment action.

## Other responses

- `480` — InternalServerException
- `481` — ResourceNotFoundException
- `482` — AccessDeniedException
- `483` — ThrottlingException
- `484` — ConflictException
- `485` — ValidationException
- `486` — UnauthorizedException

---

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