---
title: "Update the backlog items to be associated with a workflow step, replacing the backlog items' existing workflow step relationships"
method: POST
path: "/api/workflows/steps/{stepId}/relationships/backlog_items"
tags: ["Workflows"]
---

# Update the backlog items to be associated with a workflow step, replacing the backlog items' existing workflow step relationships

`POST /api/workflows/steps/{stepId}/relationships/backlog_items`

## Request

- Base URL: `https://api.atono.io`
- URL: `https://api.atono.io/api/workflows/steps/{stepId}/relationships/backlog_items`
- Auth: API key in header `X-API-KEY`

## Path parameters

- `stepId` string, uuid, required

## Request body

- MultipleRelationshipsUpdate
  - `data` ResourceIdentifier[], required
    - `type` string, required: Identifies the type of the linked resource.
    - `id` string, required: The unique identifier of the linked resource.

## Response `200`

addBacklogItemsRelationships 200 response

- MultipleRelationships
  - `links` RelationshipLinks, required
    - `self` string, uri, nullable, required
    - `related` string, uri, nullable, required
  - `data` ResourceIdentifier[], nullable, required
    - `type` string, required: Identifies the type of the linked resource.
    - `id` string, required: The unique identifier of the linked resource.
  - `meta` unknown, required

---

[API](https://skmtc.dev/atono/apis/backend-api.md) · [All operations](https://skmtc.dev/atono/apis/backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/atono/apis/backend-api/revisions/78a57b1d8c3d?raw)
