---
title: "Update Credential Data"
method: PUT
path: "/manage/admin/credential/{credential_id}"
tags: ["public"]
---

# Update Credential Data

`PUT /manage/admin/credential/{credential_id}`

## Path parameters

- `credential_id` integer, required

## Request body

- CredentialDataUpdateRequest
  - `name` string, required
  - `credential_json` object, required

## Response `200`

Successful Response

- CredentialBase
  - `credential_json` object, required
  - `admin_public` boolean, required
  - `source` 'ingestion_api' | 'slack' | 'web' | 'google_drive' | 'gmail' | 'requesttracker' | 'github' | 'gitbook' | 'gitlab' | 'guru' | 'bookstack' | 'outline' | 'confluence' | 'jira' | 'slab' | 'productboard' | 'file' | 'coda' | 'notion' | 'zulip' | 'linear' | 'hubspot' | 'document360' | 'gong' | 'google_sites' | 'zendesk' | 'loopio' | 'dropbox' | 'sharepoint' | 'teams' | 'salesforce' | 'discourse' | 'axero' | 'clickup' | 'mediawiki' | 'wikipedia' | 'asana' | 's3' | 'r2' | 'google_cloud_storage' | 'oci_storage' | 'xenforo' | 'not_applicable' | 'discord' | 'freshdesk' | 'fireflies' | 'egnyte' | 'airtable' | 'highspot' | 'drupal_wiki' | 'imap' | 'bitbucket' | 'testrail' | 'mock_connector' | 'user_file', required
  - `name` string, nullable
  - `curator_public` boolean
  - `groups` integer[]

## Other responses

- `422` — Validation Error

## Changes

- **2026-01-13** `7f4d7f7b70ee` — 1 warning
  - removed the optional property `is_user_file` from the response with the `200` status
- **2026-01-06** `2d941ea53eb3` — 6 warning, 1 info
  - added the new `bitbucket` enum value to the `source` response property for the response status `200`
  - added the new `coda` enum value to the `source` response property for the response status `200`
  - added the new `drupal_wiki` enum value to the `source` response property for the response status `200`
  - added the new `outline` enum value to the `source` response property for the response status `200`
  - …3 more
- **2025-08-21** `9321c45d93b5` — 8 info
  - api tag `public` removed
  - added the optional property `is_user_file` to the response with the `200` status
  - removed the `bitbucket` enum value from the `source` response property for the response status `200`
  - removed the `coda` enum value from the `source` response property for the response status `200`
  - …4 more

[Change history](https://skmtc.dev/onyx-dot-app/apis/onyx-api/changes/manage/admin/credential/:credential_id/put.md)

---

[API](https://skmtc.dev/onyx-dot-app/apis/onyx-api.md) · [All operations](https://skmtc.dev/onyx-dot-app/apis/onyx-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/onyx-dot-app/onyx-api/revisions/2980a9073ffe/schema)
