---
title: "Update attachment details"
method: PUT
path: "/candidates/{candidateId}/attachments/{attach}"
tags: ["Candidate API:Attachments"]
---

# Update attachment details

`PUT /candidates/{candidateId}/attachments/{attach}`

## Path parameters

- `candidateId` integer, required
- `attach` integer, required

## Request body

- UpdateCandidateAttachmentCommand
  - `type` 'Other' | 'Resume' | 'CoverLetter' | 'FormattedResume' | 'Screening' | 'Check' | 'Reference' | 'License', string
  - `category` string, nullable — Optional additional categorization for the attachment type
  - `expiry` string, date, nullable — Optional expiry date as listed on the document, e.g. a license expiry date

## Response `200`

OK

- CandidateAttachmentRepresentation
  - `attachmentId` integer
  - `type` 'Other' | 'Resume' | 'CoverLetter' | 'FormattedResume' | 'Screening' | 'Check' | 'Reference' | 'License', string
  - `category` string, nullable
  - `fileName` string, nullable
  - `fileType` string, nullable
  - `expiry` string, date, nullable — Optional expiry date as listed on the document, e.g. a license expiry date
  - `createdBy` UserNameModel
    - `userId` integer, required
    - `firstName` string, nullable
    - `lastName` string, nullable
    - `position` string, nullable
    - `email` string, nullable
    - `phone` string, nullable
    - `mobile` string, nullable
    - `inactive` boolean
    - `deleted` boolean
  - `createdAt` string, date-time, nullable
  - `candidateId` integer, nullable
  - `links` CandidateAttachmentLinks
    - `self` string, uri, nullable

## Other responses

- `404` — Attachment was not found

---

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