---
title: "PATCH /projects/{id}/"
method: PATCH
path: "/projects/{id}/"
tags: ["projects"]
---

# PATCH /projects/{id}/

`PATCH /projects/{id}/`

Partial update of a project

## Path parameters

- `id` integer, required

## Request body

- PatchedProjectUpdateRequest
  - `name` string — Name of the project
  - `description` string, nullable — Description of the project
  - `organization_id` integer
  - `eda_credential_id` integer, nullable — EdaCredential id of the project
  - `signature_validation_credential_id` integer, nullable — ID of an optional credential used for validating files in the project against unexpected changes
  - `scm_branch` string, nullable — Specific branch, tag or commit to checkout.
  - `scm_refspec` string, nullable — For git projects, an additional refspec to fetch.
  - `verify_ssl` boolean — Indicates if SSL verification is enabled
  - `proxy` string, nullable — Proxy server for http or https connection

## Response `200`

Update successful. Return an updated project.

- Project
  - `name` string, required
  - `description` string
  - `organization_id` integer, nullable, required
  - `eda_credential_id` integer, nullable
  - `signature_validation_credential_id` integer, nullable, required
  - `scm_branch` string
  - `scm_refspec` string
  - `verify_ssl` boolean
  - `proxy` string, required
  - `id` integer, required
  - `url` string, required
  - `scm_type` 'git', required — * `git` - Git
  - `git_hash` string, required
  - `import_state` 'pending' | 'running' | 'failed' | 'completed', required — * `pending` - Pending * `running` - Running * `failed` - Failed * `completed` - Completed
  - `import_error` string, nullable, required
  - `created_at` string, date-time, required
  - `modified_at` string, date-time, required

## Other responses

- `400` — Update failed with bad request.
- `409` — Update failed with integrity checking.

---

[API](https://skmtc.net/ansible/apis/event-driven-ansible-api.md) · [All operations](https://skmtc.net/ansible/apis/event-driven-ansible-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ansible/event-driven-ansible-api/versions/c04fc5f09692/schema)
