Skip to main content

Enable managed storage for a surface

PUT 

/program/api/v2/storage-profiles/:surface

warning

This endpoint is available in private cloud only. Use your global host URL if self-hosted.

Sets the surface's storage mode. mode: managed provisions a per-tenant Backblaze bucket lazily — the first call may take a few seconds (mirrors managed assets). Idempotent: repeat calls return the current profile. mode: byo records the customer's own destination. M7: a surface resolves to its own profile only — there is no archive fallback. (To copy the archiving config into a byo profile without re-entering creds, use POST …/{surface}/from-archive.)

Generate JWT

Request

Responses

Profile (provisioned or already present)

Internal Server Error

Managed storage not configured for this deployment, or provisioning failed previously