Deploy

Re-deploy a project

Upload changed files to an existing deployment and optionally purge the CDN cache. Set changed_only to skip files whose MD5 matches.

patch/agent/deploy/{projectId}

Request

  • Base URL: https://edge.network
  • URL: https://edge.network/agent/deploy/{projectId}
  • Auth: HTTP bearer

Path parameters

projectIdstring required

Project id returned by the original deploy.

Headers

X-Dry-Run'true' | 'false'

Set to "true" to preview the operation (validation, cost, plan) without making changes.

Idempotency-Keystring

Unique key for safe retries. Repeating a request with the same key returns the original response instead of re-executing.

Request body

purge_cdnboolean

Purge the CDN cache after upload.

Response

Success.

tell_userstring required

Human-readable summary of what happened, for the agent to relay to its operator.

Changes

No recorded changes to this operation across all 1 revision of this API.