---
title: "PATCH /v2/domains/{domainIdentifier}/environment-profiles/{identifier}"
method: PATCH
path: "/v2/domains/{domainIdentifier}/environment-profiles/{identifier}"
---

# PATCH /v2/domains/{domainIdentifier}/environment-profiles/{identifier}

`PATCH /v2/domains/{domainIdentifier}/environment-profiles/{identifier}`

Updates the specified environment profile in Amazon DataZone.

## Path parameters

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

## Request body

- object
  - `name` string, password — The name to be updated as part of the <code>UpdateEnvironmentProfile</code> action.
  - `description` string — The description to be updated as part of the <code>UpdateEnvironmentProfile</code> action.
  - `userParameters` EnvironmentParameter[] — The user parameters to be updated as part of the <code>UpdateEnvironmentProfile</code> action.
    - `name` string — The name of an environment profile parameter.
    - `value` string — The value of an environment profile parameter.
  - `awsAccountId` string — The Amazon Web Services account in which a specified environment profile is to be udpated.
  - `awsAccountRegion` string — The Amazon Web Services Region in which a specified environment profile is to be updated.

## Response `200`

Success

- UpdateEnvironmentProfileOutput
  - `id` string, required — The identifier of the environment profile that is to be udpated.
  - `domainId` string, required — The identifier of the Amazon DataZone domain in which the environment profile is to be updated.
  - `awsAccountId` string — The Amazon Web Services account in which a specified environment profile is to be udpated.
  - `awsAccountRegion` string — The Amazon Web Services Region in which a specified environment profile is to be updated.
  - `createdBy` string, required — The Amazon DataZone user who created the environment profile.
  - `createdAt` string, date-time — The timestamp of when the environment profile was created.
  - `updatedAt` string, date-time — The timestamp of when the environment profile was updated.
  - `name` string, password, required — The name to be updated as part of the <code>UpdateEnvironmentProfile</code> action.
  - `description` string, password — The description to be updated as part of the <code>UpdateEnvironmentProfile</code> action.
  - `environmentBlueprintId` string, required — The identifier of the blueprint of the environment profile that is to be updated.
  - `projectId` string — The identifier of the project of the environment profile that is to be updated.
  - `userParameters` CustomParameter[] — The user parameters to be updated as part of the <code>UpdateEnvironmentProfile</code> action.
    - `keyName` string, required — The key name of the parameter.
    - `description` string, password — The description of the parameter.
    - `fieldType` string, required — The filed type of the parameter.
    - `defaultValue` string — The default value of the parameter.
    - `isEditable` boolean — Specifies whether the parameter is editable.
    - `isOptional` boolean — Specifies whether the custom parameter is optional.
    - `isUpdateSupported` boolean — Specifies whether a parameter value can be updated after creation.

## Other responses

- `480` — InternalServerException
- `481` — ResourceNotFoundException
- `482` — AccessDeniedException
- `483` — ThrottlingException
- `484` — ServiceQuotaExceededException
- `485` — ConflictException
- `486` — ValidationException
- `487` — 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)
