---
title: "Update the details of an attachment"
method: PUT
path: "/attachments"
tags: ["Attachments"]
---

# Update the details of an attachment

`PUT /attachments`

## Request

- Base URL: `https://api.app.subskribe.com`
- URL: `https://api.app.subskribe.com/attachments`
- Auth: API key in header `X-API-Key`

Updates the details of the specified document

## Request body

- Attachment
  - `id` string, uuid, required
  - `name` string, required
  - `description` string
  - `status` 'UPLOADING' | 'UPLOADED'
  - `accountId` string
  - `tag` 'MASTER_SUBSCRIPTION_AGREEMENT' | 'STATEMENT_OF_WORK' | 'ORDER_FORM' | 'OTHER'
  - `inUse` boolean
  - `isDeleted` boolean
  - `createdOn` integer, required
  - `updatedOn` integer

## Response `200`

successful operation

- Attachment
  - `id` string, uuid, required
  - `name` string, required
  - `description` string
  - `status` 'UPLOADING' | 'UPLOADED'
  - `accountId` string
  - `tag` 'MASTER_SUBSCRIPTION_AGREEMENT' | 'STATEMENT_OF_WORK' | 'ORDER_FORM' | 'OTHER'
  - `inUse` boolean
  - `isDeleted` boolean
  - `createdOn` integer, required
  - `updatedOn` integer

---

[API](https://skmtc.dev/dealhub/apis/subskribe-api.md) - [All operations](https://skmtc.dev/dealhub/apis/subskribe-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dealhub/apis/subskribe-api/revisions/c1ee531b82ce?raw)
