Deployments
Create deployment
Deploy a ledger as a managed Core instance through Blnk Cloud.
POST
Use this endpoint to deploy a ledger. Cloud hosts a managed Core instance and connects it to your workspace, so you get a live ledger over the API without installing or operating Core yourself.
If you already run Core, this is the same action as Deploy an instance in the dashboard.
This endpoint deploys a managed ledger only. To attach a self-hosted Core instead, connect it from the dashboard first.
Authorization
Blnk Cloud APIs support any one of the following authentication methods. All of them work with yourCLOUD_API_KEY or OAUTH_ACCESS_TOKEN.
Pass X-blnk-key: CLOUD_API_KEY or X-blnk-key: OAUTH_ACCESS_TOKEN.
Body
string
required
Display name for this ledger in your workspace.
string
required
Environment for the ledger:
sandbox or production. Cloud assigns capacity from this value.string
Production only. Choose a datacenter closest to your app. Do not send this for sandbox. Cloud assigns the sandbox region.
Response
string
Unique id for this managed deployment (
deploy_...). Use it with Deployments APIs. Do not pass it as instance_id when routing Cloud APIs.string
Display name of this ledger in your workspace.
string
Environment for the ledger:
sandbox or production. Cloud assigns capacity from this value.string
Capacity Cloud assigned for this deployment, such as
B1.Micro or B1.Standard. You do not choose this when you create the deployment.string
PENDING until the instance is ready, then ACTIVE. Sandbox typically takes 7 - 10 minutes. Production can take 10 - 30 minutes.string
Datacenter code for the instance. Cloud assigns this for sandbox. You choose it for production.
boolean
true when the instance runs on dedicated Production infrastructure. Sandbox is always false.string
How Cloud routes traffic to the instance. Live values include
shared and legacy.boolean
Whether Watch is enabled.
boolean
Whether usage-based billing is on for the organization.
timestamp
When usage-based billing was enabled for the organization.
boolean
true when this instance has used its included records and organization usage-based billing is off, so new records cannot be created. false while the instance is within its allowance or usage-based billing is on. See Usage-based billing.timestamp
When the deployment was created.
timestamp
When the deployment was last updated.