---
title: "PATCH /workspace/{workspaceId}/history/{historyId}"
method: PATCH
path: "/workspace/{workspaceId}/history/{historyId}"
tags: ["history"]
---

# PATCH /workspace/{workspaceId}/history/{historyId}

`PATCH /workspace/{workspaceId}/history/{historyId}`

## Request

- Base URL: `https://4014930676-files.gitbook.io/api/v1`
- URL: `https://4014930676-files.gitbook.io/api/v1/workspace/{workspaceId}/history/{historyId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/terrakube/apis/elide-service/docs/workspace/:workspaceId/history/:historyId/patch.ts> (a function with typed inputs; its response is checked against the schema)

Modifies an instance of type history

## Request body

- object
  - `data` History
    - `type` string: Create Permissions : (user is a super service) Delete Permissions : (user is a super service)
    - `id` string
    - `attributes` object
      - `createdBy` string: Update Permissions : (user is a super service)
      - `createdDate` string, date-time: Update Permissions : (user is a super service)
      - `jobReference` string: Update Permissions : (user is a super service)
      - `output` string: Update Permissions : (user is a super service)
      - `updatedBy` string: Update Permissions : (user is a super service)
      - `updatedDate` string, date-time: Update Permissions : (user is a super service)
    - `relationships` object
      - `workspace` object: Update Permissions : (user is a super service)
        - `id` string
        - `type` 'workspace'

## Response `204`

Successful response

---

[API](https://skmtc.dev/terrakube/apis/elide-service.md) - [All operations](https://skmtc.dev/terrakube/apis/elide-service/llms.txt) - [OpenAPI document](https://skmtc.dev/terrakube/apis/elide-service/revisions/e7891deb8c02?raw)
