---
title: "PATCH /api/v1/app-connections/s3-compatible/{connectionId}"
method: PATCH
path: "/api/v1/app-connections/s3-compatible/{connectionId}"
tags: ["App Connections"]
---

# PATCH /api/v1/app-connections/s3-compatible/{connectionId}

`PATCH /api/v1/app-connections/s3-compatible/{connectionId}`

## Request

- Base URL: `https://us.infisical.com`
- URL: `https://us.infisical.com/api/v1/app-connections/s3-compatible/{connectionId}`
- Auth: none declared

Update the specified S3-Compatible Storage Connection.

## Path parameters

- `connectionId` string, uuid, required

## Request body

- object
  - `credentials` object: The credentials used to connect with S3-Compatible Storage.
    - `endpoint` string, required: The S3 API endpoint of the storage provider, without a bucket name: 'https://s3.<region>.amazonaws.com' (AWS S3), 'https://<account-id>.r2.cloudflarestorage.com' (Cloudflare R2), 'https://storage.googleapis.com' (Google Cloud Storage), 'https://<namespace>.compat.objectstorage.<region>.oraclecloud.com' (OCI Object Storage), or a hostname allowed in the Server Console.
    - `accessKeyId` string, required: The Access Key ID used to authenticate with the storage provider.
    - `secretAccessKey` string, required: The Secret Access Key used to authenticate with the storage provider.
    - `region` string: The region to sign requests for when the endpoint is a hostname allowed in the Server Console. Defaults to 'us-east-1'. The built-in providers take the region from the endpoint.
  - `name` string: The updated name of the S3-Compatible Storage Connection. Must be slug-friendly.
  - `description` string, nullable: The updated description of the S3-Compatible Storage Connection.
  - `isPlatformManagedCredentials` false: Not supported for S3-Compatible Storage Connections.
  - `gatewayId` 'null', nullable: Not supported for S3-Compatible Storage Connections.
  - `gatewayPoolId` 'null', nullable: Not supported for S3-Compatible Storage Connections.
  - `isAutoRotationEnabled` false: Not supported for S3-Compatible Storage Connections.
  - `rotation` 'null', nullable: Not supported for S3-Compatible Storage Connections.

## Response `200`

Default Response

- object
  - `appConnection` object, required
    - `id` string, uuid, required
    - `name` string, required
    - `description` string, nullable
    - `version` number
    - `orgId` string, uuid, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `isPlatformManagedCredentials` boolean, nullable
    - `gatewayId` string, uuid, nullable
    - `projectId` string, nullable
    - `isAutoRotationEnabled` boolean
    - `gatewayPoolId` string, uuid, nullable
    - `rotation` object: The credential rotation configuration, if configured.
      - `lastRotationMessage` string, nullable: The message from the last rotation attempt.
      - `rotationInterval` number, required: The interval in days between credential rotations.
      - `nextRotationAt` string, date-time, nullable: The next scheduled rotation time.
      - `rotationStatus` 'success' | 'failed', required: The status of the last rotation attempt.
      - `rotateAtUtc` object, required: The UTC time of day at which rotation should occur.
        - `hours` number, required: The hour (0-23) at which to rotate.
        - `minutes` number, required: The minute (0-59) at which to rotate.
    - `credentialsHash` string
    - `project` object, nullable
      - `name` string, required
      - `id` string, required
      - `type` string, required
      - `slug` string, required
    - `app` 's3-compatible', required
    - `method` 'access-key', required
    - `credentials` object, required
      - `endpoint` string, required: The S3 API endpoint of the storage provider, without a bucket name: 'https://s3.<region>.amazonaws.com' (AWS S3), 'https://<account-id>.r2.cloudflarestorage.com' (Cloudflare R2), 'https://storage.googleapis.com' (Google Cloud Storage), 'https://<namespace>.compat.objectstorage.<region>.oraclecloud.com' (OCI Object Storage), or a hostname allowed in the Server Console.
      - `accessKeyId` string, required: The Access Key ID used to authenticate with the storage provider.
      - `region` string: The region to sign requests for when the endpoint is a hostname allowed in the Server Console. Defaults to 'us-east-1'. The built-in providers take the region from the endpoint.

## Other responses

- `400`: Default Response
- `401`: Default Response
- `403`: Default Response
- `404`: Default Response
- `422`: Default Response
- `500`: Default Response

## Changes

- **2026-10-16** `1eb655713b82`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/infisical/apis/infisical-api/changes/api/v1/app-connections/s3-compatible/:connectionId/patch.md)

---

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