Plan a Dev and Prod data assignment change

Plans one of four Owner-only changes without copying data and issues a ten-minute action-bound confirmation token. shared remains the default at project creation. A Dev reset preserves secrets and access mode and renews a protected share link.

post/v1/projects/{project_id}/data-changes:plan

Request

  • Base URL: https://app.ohmyho.st
  • URL: https://app.ohmyho.st/v1/projects/{project_id}/data-changes:plan
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project identifier.

Headers

X-Request-Idstring

Optional caller-provided correlation identifier.

Request body

change'isolate_prod_keeps_data' | 'isolate_dev_keeps_data' | 'share_prod_keeps_data' | 'reset_dev' required

Owner-confirmed assignment change. No application data is copied; physical resources are provisioned lazily.

Response

The data assignment plan and its exact destructive effects.

action'data_change' required
project_idstring required
change'isolate_prod_keeps_data' | 'isolate_dev_keeps_data' | 'share_prod_keeps_data' | 'reset_dev' required

Owner-confirmed assignment change. No application data is copied; physical resources are provisioned lazily.

data_mode_before'shared' | 'isolated' required
data_mode_after'shared' | 'isolated' required
effectsstring[] required
destructive_effectsstring[] required
redeploy_environmentsstring[] required
risksstring[] required
resource_etagstring required

Send as If-Match with this plan's confirmation token.

confirmation_tokenstring required

Opaque, single-action token bound to the planned action, project, target resource, and resource ETag.

created_atstring date-time required
expires_atstring date-time required

Changes

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