---
title: "PUT /api/projects/{pid}/deploys/{did}"
method: PUT
path: "/api/projects/{pid}/deploys/{did}"
tags: ["api"]
---

# PUT /api/projects/{pid}/deploys/{did}

`PUT /api/projects/{pid}/deploys/{did}`

## Request body

- DeployUpdate
  - `did` integer — A unique integer value identifying this deploy.
  - `status` 'SUCCESS' | 'BUILDING' | 'DOWNLOADING' | 'FAILURE' | 'CANCELED' — Deploy status.
  - `spiders_names` string[] — Spider names in this deploy.
  - `error_reason` string, nullable — Error logs to persist in deploy_logs (Mongo) on failure.

## Response `200`

OK

- DeployUpdate
  - `did` integer — A unique integer value identifying this deploy.
  - `status` 'SUCCESS' | 'BUILDING' | 'DOWNLOADING' | 'FAILURE' | 'CANCELED' — Deploy status.
  - `spiders_names` string[] — Spider names in this deploy.
  - `error_reason` string, nullable — Error logs to persist in deploy_logs (Mongo) on failure.

---

[API](https://skmtc.net/bitmakerla/apis/estela-api-v1-0-documentation.md) · [All operations](https://skmtc.net/bitmakerla/apis/estela-api-v1-0-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bitmakerla/estela-api-v1-0-documentation/versions/ec53774a2b78/schema)
