v4

latestOpenAPI 3.0.32026-07-312,317012.2 MB
Secret Syncs

Create a Cloudflare Workers Sync for the specified project environment.

post/api/v1/secret-syncs/cloudflare-workers

Request body

namestring required

The name of the Cloudflare Workers Sync to create. Must be slug-friendly.

projectIdstring required

The ID of the project to create the sync in.

descriptionstring nullable

An optional description for the Cloudflare Workers Sync.

connectionIdstring uuid required

The ID of the Cloudflare Connection to use for syncing.

environmentstring required

The slug of the project environment to sync secrets from.

secretPathstring required

The folder path to sync secrets from.

isAutoSyncEnabledboolean

Whether secrets should be automatically synced when changes occur at the source location or not.

Response

Default Response