---
title: "Replace Static Credentials"
method: PUT
path: "/api/py/instance-sources/{source_id}"
tags: ["instance-sources"]
---

# Replace Static Credentials

`PUT /api/py/instance-sources/{source_id}`

## Request

- Base URL: `https://api.getauctor.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getauctor.com/api/py/instance-sources/{source_id}`
- Auth: none declared

## Path parameters

- `source_id` string, uuid, required

## Request body

- StaticCredentialsCreateRequest
  - `source_type` 'static_credentials', required
  - `instance_id` string, uuid, required
  - `payload` StaticCredentialsConfig, required
    - `version` 1, required
    - `secrets` object, required
    - `services` StaticCredentialsService[], required
      - `id` string, required
      - `host` string, required
      - `inject` HeaderInjection
        - `headers` object, required
      - `substitute` SecretSubstitution[], nullable
        - `secret` string, required
        - `in` string[], required

## Response `200`

Successful Response

- StaticCredentialsAttachResult
  - `id` string, uuid, required
  - `source_type` string, required
  - `delivery_instance_id` string, uuid, required
  - `organization_id` string, required
  - `credential_kind` string, required
  - `status` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `422`: Validation Error
- `500`: Internal Server Error

## Changes

- **2026-10-14** `5c801d686c91`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/getauctor/apis/getauctor-api/changes/api/py/instance-sources/:source_id/put.md)

---

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