---
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.

## Changes

- **2026-07-17** `c04fc5f09692` — 3 info
  - added the new optional request property `organization_id` (media type: application/json)
  - added the new optional request property `organization_id` (media type: application/x-www-form-urlencoded)
  - added the new optional request property `organization_id` (media type: multipart/form-data)
- **2024-04-23** `cbf68ddd9760` — 1 breaking, 4 warning, 24 info
  - removed the required property `import_task_id` from the response with the `200` status
  - removed the request property `credential_id` (media type: application/json)
  - removed the request property `credential_id` (media type: application/x-www-form-urlencoded)
  - removed the request property `credential_id` (media type: multipart/form-data)
  - …25 more
- **2023-09-05** `011f9cfbad09` — 3 breaking, 4 info
  - the request property `name` became not nullable (media type: application/json)
  - the request property `name` became not nullable (media type: application/x-www-form-urlencoded)
  - the request property `name` became not nullable (media type: multipart/form-data)
  - added the new optional request property `verify_ssl` (media type: application/json)
  - …3 more
- …earlier changes not shown

[Full history](https://skmtc.dev/ansible/apis/event-driven-ansible-api/changes/projects/:id/patch.md)

---

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