---
title: "Update an incident timestamp override"
method: PATCH
path: "/api/v2/incidents/{incident_id}/timestamp-overrides/{id}"
tags: ["Incidents"]
---

# Update an incident timestamp override

`PATCH /api/v2/incidents/{incident_id}/timestamp-overrides/{id}`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/incidents/{incident_id}/timestamp-overrides/{id}`
- Auth: one of:
  - API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
  - OAuth 2
    - Authorization code: `/oauth2/v1/authorize`
    - Token URL: `/oauth2/v1/token` scopes: `incident_write`
- TypeScript: <https://skmtc.dev/datadog/apis/datadog-api-v2-collection/docs/api/v2/incidents/:incident_id/timestamp-overrides/:id/patch.ts> (a function with typed inputs; its response is checked against the schema)

Update a timestamp override for an incident.

## Path parameters

- `incident_id` string, required
- `id` string, uuid, required

## Request body

- IncidentTimestampOverridePatchRequest: Request payload for patching a timestamp override.
  - `data` IncidentTimestampOverridePatchDataRequest, required: Timestamp override data in a patch request.
    - `attributes` IncidentTimestampOverridePatchDataAttributesRequest: Attributes for patching a timestamp override.
      - `timestamp_value` string, date-time, required: The overridden timestamp value.
    - `id` string, uuid, required: The timestamp override identifier.
    - `type` 'incidents_timestamp_overrides', required: Incident timestamp override resource type.

## Response `200`

OK

- IncidentTimestampOverrideResponse: Response with a single timestamp override.
  - `data` IncidentTimestampOverrideDataResponse, required: Timestamp override data in a response.
    - `attributes` IncidentTimestampOverrideDataAttributesResponse, required: Attributes of a timestamp override in a response.
      - `created_at` string, date-time, required: Timestamp when the override was created.
      - `deleted_at` string, date-time, nullable: Timestamp when the override was deleted.
      - `incident_id` string, required: The incident identifier.
      - `modified_at` string, date-time, required: Timestamp when the override was last modified.
      - `timestamp_type` 'detected' | 'resolved' | 'declared', required: The type of timestamp to override.
      - `timestamp_value` string, date-time, required: The overridden timestamp value.
    - `id` string, uuid, required: The timestamp override identifier.
    - `relationships` IncidentTimestampOverrideRelationships: Relationships for a timestamp override.
      - `created_by_user` RelationshipToUser: Relationship to user.
        - `data` RelationshipToUserData, required: Relationship to user object.
          - `id` string, required: A unique identifier that represents the user.
          - `type` 'users', required: Users resource type.
      - `last_modified_by_user` RelationshipToUser: Relationship to user.
        - `data` RelationshipToUserData, required: Relationship to user object.
          - `id` string, required: A unique identifier that represents the user.
          - `type` 'users', required: Users resource type.
    - `type` 'incidents_timestamp_overrides', required: Incident timestamp override resource type.
  - `included` IncidentUserData[]: Included related resources.
    - `attributes` IncidentUserAttributes: Attributes of user object returned by the API.
      - `email` string: Email of the user.
      - `handle` string: Handle of the user.
      - `icon` string: URL of the user's icon.
      - `name` string, nullable: Name of the user.
      - `uuid` string: UUID of the user.
    - `id` string: ID of the user.
    - `type` 'users': Users resource type.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/3f70db624329?raw)
