---
title: "Deploy sources code"
method: POST
path: "/v2/projects/{name}/sources"
tags: ["Deploy"]
---

# Deploy sources code

`POST /v2/projects/{name}/sources`

deploy sources code that user owns

## Path parameters

- `name` string, required

## Response `200`

Successful operation

- object
  - `sourceID` string

## Other responses

- `400` — Bad request
- `401` — Missing authentication
- `404` — App does not exists.

## Changes

- **2023-10-06** `cf08e00ba33f` — 1 info
  - added the media type `application/json` for the response with the status `200`
- **2023-10-01** `3cd08cccd4c4` — 1 breaking, 1 warning, 1 info
  - removed the media type `application/json` from the request body
  - deleted the `header` request parameter `Content-Type`
  - added the media type `multipart/form-data` to the request body

[Change history](https://skmtc.dev/liara-cloud/apis/paas/changes/v2/projects/:name/sources/post.md)

---

[API](https://skmtc.dev/liara-cloud/apis/paas.md) · [All operations](https://skmtc.dev/liara-cloud/apis/paas/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/liara-cloud/paas/revisions/4413e6f56089/schema)
