---
title: "Changes to Attach temporary file"
method: POST
path: "/rest/servicedeskapi/servicedesk/{serviceDeskId}/attachTemporaryFile"
---

# Changes to Attach temporary file

`POST /rest/servicedeskapi/servicedesk/{serviceDeskId}/attachTemporaryFile`

> Every recorded change to this operation, newest first.
> 20 revisions in range; 3 not diffed.

## Timeline

Changed in 2 of 20 revisions.

- **2026-07-13** `bba7b3477d98`: 1 info
- **2024-02-08** `7c79c3ffe305`: 2 breaking, 1 info

## Changes

- **2026-07-13** `bba7b3477d98`: 1 info
  - added the new optional request property `items/resource/contentAsByteArray`
- **2024-02-08** `7c79c3ffe305`: 2 breaking, 1 info
  - request body became required
  - the request's body type changed from `string` to `array`, and format from `binary` to no format
  - added the non-success response with the status `413`

---

[Operation](https://skmtc.dev/atlassian/apis/service-management-public-rest-api/docs/rest/servicedeskapi/servicedesk/:serviceDeskId/attachTemporaryFile/post.md) - [API](https://skmtc.dev/atlassian/apis/service-management-public-rest-api.md) - [Page](https://skmtc.dev/atlassian/apis/service-management-public-rest-api/changes/rest/servicedeskapi/servicedesk/:serviceDeskId/attachTemporaryFile/post)
