---
deprecated: true
search:
  tags:
    - Files
    - PUT
seo:
  description: >-
    Creates a relationship between a… Reference for the PUT
    /api/v1/{team_slug}/{app_slug}/files/{file_id}/relationships/{item_id}
    endpoint in the Management API.
sidebar:
  label: Add File Relationship
  badge: PUT
title: Add File Relationship
type: openapi-operation
---
Creates a relationship between a file and a product/item, allowing the file to be associated with and used by that product. Triggers a product update event to propagate changes.
Deprecated: use PUT /api/v2/&#123;team_slug&#125;/&#123;app_slug&#125;/dam/files/items instead.

`PUT /api/v1/{team_slug}/{app_slug}/files/{file_id}/relationships/{item_id}`

**Deprecated.**

**Responses**

- `200` — Relationship created successfully
- `400` — Invalid request
- `401` — Unauthorized access
- `500` — Internal server error

Response example, 200:

```json
{
  "data": "string",
  "details": [
    "string"
  ],
  "success": true
}
```
