---
title: "POST /v2/update-assertion"
method: POST
path: "/v2/update-assertion"
---

# POST /v2/update-assertion

`POST /v2/update-assertion`

Updates a resilience assertion.

## Request body

- object
  - `serviceArn` string, required — ARN identifier.
  - `assertionId` string, required — The unique identifier of the assertion to update.
  - `text` string — The updated text content of the assertion.

## Response `200`

Success

- UpdateAssertionResponse
  - `assertion` object, required — The updated assertion.
    - `serviceArn` string, required — ARN identifier.
    - `assertionId` string, required — The unique identifier of the assertion.
    - `text` string, required — The text content of the assertion.
    - `source` 'AI_GENERATED' | 'USER', required — The source of the assertion, indicating whether it was AI-generated or created by a user.
    - `createdAt` string, date-time — The timestamp when the assertion was created.
    - `updatedAt` string, date-time — The timestamp when the assertion was last updated.

## Other responses

- `480` — InternalServerException
- `481` — ResourceNotFoundException
- `482` — ValidationException
- `483` — ConflictException
- `484` — AccessDeniedException

---

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