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

# PATCH /credential-types/{id}/

`PATCH /credential-types/{id}/`

Partial update of a credential type

## Path parameters

- `id` integer, required

## Request body

- PatchedCredentialTypeCreate
  - `name` string
  - `description` string
  - `inputs` object — Inputs of the credential type
  - `injectors` object — Injectors of the credential type

## Response `200`

Update successful. Return an updated credential type.

- CredentialType
  - `name` string, required
  - `namespace` string, nullable
  - `kind` string
  - `description` string
  - `inputs` object
  - `injectors` object
  - `id` integer, required
  - `created_at` string, date-time, required
  - `modified_at` string, date-time, required
  - `managed` boolean, required

## Changes

- **2026-07-17** `c04fc5f09692` — 1 breaking, 3 warning
  - removed the required property `organization_id` from the response with the `200` status
  - removed the request property `organization_id` (media type: application/json)
  - removed the request property `organization_id` (media type: application/x-www-form-urlencoded)
  - removed the request property `organization_id` (media type: multipart/form-data)
- **2024-04-23** `cbf68ddd9760` — 1 info
  - endpoint added
- **2023-04-25** `62d33b790834` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/ansible/apis/event-driven-ansible-api/changes/credential-types/: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)
