---
title: "PUT /workspaces/{workspaceId}/alertmanager/definition"
method: PUT
path: "/workspaces/{workspaceId}/alertmanager/definition"
---

# PUT /workspaces/{workspaceId}/alertmanager/definition

`PUT /workspaces/{workspaceId}/alertmanager/definition`

Update an alert manager definition.

## Path parameters

- `workspaceId` string, required — A workspace ID.

## Request body

- object
  - `clientToken` string — An identifier used to ensure the idempotency of a write request.
  - `data` string, required — The alert manager definition data.

## Response `202`

Success

- PutAlertManagerDefinitionResponse — Represents the output of a PutAlertManagerDefinition operation.
  - `status` object, required — The status of alert manager definition.
    - `statusCode` 'CREATING' | 'ACTIVE' | 'UPDATING' | 'DELETING' | 'CREATION_FAILED' | 'UPDATE_FAILED', required — Status code of this definition.
    - `statusReason` string — The reason for failure if any.

## Other responses

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

---

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