---
title: "Assign Assets"
method: POST
path: "/portfolios/{portfolio_id}/assets"
tags: ["Portfolio"]
---

# Assign Assets

`POST /portfolios/{portfolio_id}/assets`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/portfolios/{portfolio_id}/assets`
- Auth: none declared
- TypeScript: <https://skmtc.dev/equiwatt/apis/equiwatt-api/docs/portfolios/:portfolio_id/assets/post.ts> (a function with typed inputs; its response is checked against the schema)

Move assets under a portfolio

## Path parameters

- `portfolio_id` string, uuid, required

## Request body

- string[]

## Response `201`

Document created, URL follows

## Other responses

- `400`: Bad request syntax or unsupported method

## Changes

- **2026-07-13** `332ef685d64d`: 1 breaking
  - for the `path` request parameter `portfolio_id`, the format changed from no format to `uuid`
- **2024-05-22** `eb9dca23812a`: 1 info
  - for the `path` request parameter `portfolio_id`, the format was generalized from `uuid` to no format

[Operation history](https://skmtc.dev/equiwatt/apis/equiwatt-api/changes/portfolios/:portfolio_id/assets/post.md)

---

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