---
title: "Update registry credentials by key"
method: PUT
path: "/v1/registry-credential/{key}"
tags: ["registry-credential"]
---

# Update registry credentials by key

`PUT /v1/registry-credential/{key}`

## Request

- Base URL: `https://api.octoai.cloud`
- URL: `https://api.octoai.cloud/v1/registry-credential/{key}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/octoml/apis/octoai-api/docs/v1/registry-credential/:key/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `key` string, required

## Request body

- object
  - `username` string
  - `password` string

## Response `200`

A description of the registry credential

- RegistryCredentialSummary
  - `key` string, required: The lookup key for this credntial
  - `username` string, required: Username corresponding to this credential

---

[API](https://skmtc.dev/octoml/apis/octoai-api.md) - [All operations](https://skmtc.dev/octoml/apis/octoai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/octoml/apis/octoai-api/revisions/ff4ad53097bc?raw)
