Skip to content
Back to feed

November 25, 2026 · Cloudflare

Basin Pipelines, Basin - Pipelines Sink credentials can now be updated

What changed

Basin Pipelines sink credentials: Sink credentials can be updated without deleting and recreating the sink.

You can now replace the credentials of a Basin Pipelines sink. Previously, an expired or revoked token meant deleting and recreating the sink.

Pipelines keep the sink's earlier credentials until you update them. Updating a failed pipeline automatically restarts it.

Dashboard

  • Update credentials — On a sink's page, in Destination. Create a new API token, or enter the credentials of a token you created.
  • Update pipeline — On a pipeline's page, when a stream or sink it uses has changed.
Go to Sinks ↗

API

Both requests need an API token with Basin Pipelines Edit permission.

First, update the sink. The following is an example of updating credentials of an R2 sink.

curl "https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/pipelines/v1/sinks/$SINK_ID" \
  --request PATCH \
  --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
  --json '{
    "config": {
      "credentials": {
        "access_key_id": "<ACCESS_KEY_ID>",
        "secret_access_key": "<SECRET_ACCESS_KEY>"
      }
    }
  }'

Then update each pipeline that uses it:

curl "https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/pipelines/v1/pipelines/$PIPELINE_ID/update_tables" \
  --request POST \
  --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN"

For more information, refer to Update sink credentials and Update a pipeline.

Get the week’s Cloudflare changes in one email

Free, every Monday: only what changed in Cloudflare that week. We email you a link to confirm.

See last week’s digest

Free. Unsubscribe any time.

All Basin Pipelines changes