{"id":2922,"date":"2023-09-19T09:05:21","date_gmt":"2023-09-19T16:05:21","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/programmatic-admin-capella-management-api\/"},"modified":"2023-09-19T09:05:21","modified_gmt":"2023-09-19T16:05:21","slug":"programmatic-admin-capella-management-api","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/programmatic-admin-capella-management-api\/","title":{"rendered":"Programmatic Administration of Capella Deployments with the Capella Management API"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><span>We&#8217;re incredibly excited to present to you <\/span><a href=\"https:\/\/docs.couchbase.com\/cloud\/management-api-guide\/management-api-intro.html\"><span>the new features<\/span><\/a><span> of our <\/span><a href=\"https:\/\/docs.couchbase.com\/cloud\/index.html\"><span>Capella<\/span><\/a><span> Management API. The new version of the API has been redesigned from the ground-up to be more RESTful, extensible, robust and secure. With an array of functionalities focused on enhancing control, security, and ease of use, we&#8217;re sure you&#8217;ll find many ways to improve your Capella DevOps workflows by leveraging the API within your <\/span><a href=\"https:\/\/www.couchbase.com\/blog\/infrastructure-code-couchbase-distributed-cluster-best-practices-part-1-introduction-theory\/\"><span>Infrastructure-as-Code<\/span><\/a><span> (IAC) tools and deployment scripts. In this post, we will walkthrough a simple example of using <\/span><a href=\"https:\/\/www.postman.com\/\"><span>Postman<\/span><\/a><span> to interact with and execute the API. But first, let&#8217;s take a quick look at the features that make our new Management API a powerful tool for organizations.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span>API Highlights<\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>API accesses are authenticated and authorized using API Keys which are associated with Organization level or the Project level roles.\u00a0<\/span><\/li>\n\n\n<li><span>The initial bootstrap API key is generated via the Capella Admin UI. Thereafter, you can use the API to generate new API keys that can be scoped to either the Organization level or the Project level.<\/span><\/li>\n\n\n<li><span>Endpoints related to projects enable you to list, create, update, and delete projects through the API.<\/span><\/li>\n\n\n<li><span>In addition to deploying and listing clusters, the API allows you to modify the number of nodes and even change the support plan. You can also scale clusters horizontally and vertically.<\/span><\/li>\n\n\n<li><span>You can now manage users and modify user roles using the API.<\/span><\/li>\n\n\n<li><span>Cluster-allowed CIDRs can be managed through a dedicated API endpoint.<\/span><\/li>\n\n\n<li><span>Dynamic addition of database credentials is also supported, which can be useful for integrating external secrets management systems like Vault.<\/span><\/li>\n\n\n<li><span>Besides deploying clusters, you can now also manage the buckets within those clusters using the API.<\/span><\/li>\n\n\n<li><span>The API provides the capability to fetch the x.509 certificate for a given cluster.<\/span><\/li>\n\n\n<li><span>You can create on-demand backups of buckets or list existing backups, and even restore those backups, all through the API.<\/span><\/li>\n\n\n<li><span>In addition to managing your on-demand backups, you can also schedule backups via the API.<\/span><\/li>\n\n\n<li><span>And finally the API now includes the functionality to deploy App Services.<\/span><\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><span>The list of endpoints mentioned above will continue to evolve. Refer to the <\/span><a href=\"https:\/\/docs.couchbase.com\/cloud\/management-api-reference\/index.html\"><span>comprehensive API reference<\/span><\/a><span> for the complete set of resources and endpoints.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span>Before we dive in, it&#8217;s important to note that API v3 keys won&#8217;t be compatible with v4, so a new set of API keys will be necessary. Details on generating a new API key are provided in the walkthrough section below.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span>In the rest of the article, we will walk you through the steps to get started with our new API using Postman. Whether you&#8217;re a DevOps engineer, a developer, QA, or anyone interested in integrating with Capella, this guide is for you.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span>Walkthrough<\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span>Step 1: Install Postman<\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><span>If you haven&#8217;t already installed Postman, you can download it from <\/span><a href=\"https:\/\/www.postman.com\/downloads\/\"><span>Postman&#8217;s website<\/span><\/a><span>. Follow the installation steps to get it up and running on your machine.<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span>Step 2: Generate API Keys<\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><span>Login to Capella, and follow <\/span><a href=\"https:\/\/docs.couchbase.com\/cloud\/management-api-guide\/management-api-start.html#generate-management-api-keys\"><span>our guide <\/span><\/a><span>to set up a management key that suits your use case. Due to incompatibility issues with v3, make sure to generate a new set of API keys specifically for API v4. For the purposes of this article, it&#8217;s advisable to configure a Management API key with an &#8216;Organization Owner&#8217; role to enable comprehensive endpoint testing. However, in a production setting, adhere to the Principle of Least Privilege and employ the &#8216;Allowed IP Addresses&#8217; feature for enhanced security and restricted access. You can use the &#8220;Add your current IP address block&#8221; feature to quickly allow access from your IP address.<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span>Step 3: Download OpenAPI Specification<\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><span>Download the OpenAPI Specification file for API v4 from <\/span><a href=\"https:\/\/docs.couchbase.com\/cloud\/management-api-reference\/index.html\"><span>our documentation site<\/span><\/a><span>.\u00a0<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-14865\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/image19-1024x189-1.png\" alt=\"\" width=\"900\" height=\"166\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span>Step 4: Import OpenAPI Specification into Postman<\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>Open Postman and go to the &#8220;File&#8221; menu.<\/span><\/li>\n\n\n<li><span>Select &#8220;Import&#8221; and browse to the location where you saved the OpenAPI Specification file.<\/span><\/li>\n\n\n<li><span>Choose the file and click &#8220;Open&#8221; to import it (openapi.json) into Postman.<\/span><\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><span>This will automatically create a new collection named <\/span><b>Couchbase Capella Management API<\/b><span> in Postman containing all the available API endpoints.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-14866\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/image16-1024x181-1.png\" alt=\"\" width=\"900\" height=\"159\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span>Step 5: Set Up Authorization<\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><span>Select the entire collection you just imported. Navigate to the Authorization tab, and select the type as &#8220;Bearer Token&#8221;. Place the <strong>API Key Token<\/strong> you created earlier into the token field. Click <strong>save\u00a0<\/strong>to make sure the change is applied to the whole collection.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-14867\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/image14-1024x334-1.png\" alt=\"\" width=\"900\" height=\"294\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span>Step 6: Create Postman Environment<\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><span>In Postman, create a new environment and add a single variable called baseUrl with the value https:\/\/cloudapi.cloud.couchbase.com\/\u00a0<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>Click on Environments<\/span><\/li>\n\n\n<li><span>Click on <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-14868\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/image10-1.png\" alt=\"\" width=\"25\" height=\"26\"> <\/span><span>to create a new environment<\/span><\/li>\n\n\n<li><span>Name your environment <\/span><b>Capella v4<\/b><span> by clicking on<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-14869\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/image3-1-3.png\" alt=\"\" width=\"270\" height=\"49\"><\/span><\/li>\n\n\n<li><span>Add a single variable called <\/span><b>baseUrl<\/b><span> with the value <\/span><a href=\"https:\/\/cloudapi.cloud.couchbase.com\/\"><span>https:\/\/cloudapi.cloud.couchbase.com<\/span><\/a><\/li>\n\n\n<li>Make sure you select this environment as the active one.<\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><span>&gt; <\/span><b>Note<\/b><span>: Always make sure you select the correct environment before executing any API calls.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-14870\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/image12-1024x100-1.png\" alt=\"\" width=\"900\" height=\"88\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span>At this point we are ready to call the different API endpoints.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span>Testing the API<\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span>List Your Organizations<\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><span>The first API endpoint we will test is the List Organizations endpoint. The goal is to fetch a list of Organizations that the API key allows access to.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span>Go back to Postman, and within the collection you imported, navigate to the <\/span><b>organizations<\/b><span> folder and click on <\/span><a href=\"https:\/\/docs.couchbase.com\/cloud\/management-api-reference\/index.html#tag\/organizations\/operation\/listOrganizations\"><span>List organization<\/span><\/a><span>.\u00a0<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-14871\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/image18-1024x326-1.png\" alt=\"\" width=\"900\" height=\"287\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span>The response should have at least one Capella Organization.\u00a0<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span>As a convenience, we have created a script for you that you can use in Postman to grab the id of the first organization from the response.<\/span><\/p>\n\n\n<p>[crayon nums=&#8221;false&#8221; lang=&#8221;js&#8221; decode=&#8221;true&#8221;]pm.test(&#8220;Status code is 200&#8221;, () =&gt; {<br \/>\n\u00a0\u00a0pm.expect(pm.response.code).to.eql(200);<br \/>\n});<\/p>\n<p>pm.test(&#8220;The response has all properties&#8221;, () =&gt; {<br \/>\n\u00a0\u00a0\u00a0\u00a0const responseJson = pm.response.json();<br \/>\n\u00a0\u00a0\u00a0\u00a0pm.expect(responseJson.data).to.be.an(&#8216;array&#8217;).that.is.not.empty;<br \/>\n\u00a0\u00a0\u00a0\u00a0pm.test(&#8220;Organization exists&#8221;, () =&gt; {<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0const org = responseJson.data[0];<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0pm.expect(org.id).to.be.a(&#8220;string&#8221;);<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0pm.test(&#8220;Save organization to environment&#8221;, () =&gt; {<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0pm.environment.set(&#8220;orgId&#8221;, org.id);<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0});<br \/>\n\u00a0\u00a0\u00a0\u00a0});<br \/>\n});[\/crayon]<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span>All you need to do is to paste this into the <\/span><b>tests<\/b><span> section of the <\/span><b>List organization<\/b><span> call.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-14872\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/image5-1024x871-1.png\" alt=\"\" width=\"900\" height=\"766\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span>Get Your Organization<\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><span>Assuming that the List organization call was successful, now we can move to the next step to try the <\/span><a href=\"https:\/\/docs.couchbase.com\/cloud\/management-api-reference\/index.html#tag\/organizations\/operation\/getOrganizationByID\"><b>Get Organization<\/b><\/a><span> endpoint.<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>Go and select Get organization endpoint in Postman inside the <\/span><b>organizations<\/b><span> folder.\u00a0<\/span><\/li>\n\n\n<li><span>Before executing the API call, change the Path variable called organizationId to the environment variable called <\/span><b>orgId <\/b><span>that<\/span> <span>we created in the earlier step.<\/span><\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-14873\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/image4-1024x401-1.png\" alt=\"\" width=\"900\" height=\"352\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span>With successful retrieval of your organization information, you&#8217;ve just made your first step into leveraging the full power of our API v4.<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span>Create a new Project<\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><span>Projects are used to organize and manage groups of Couchbase databases within organizations. In this example we are going to create a new Project<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>Go to Postman and open the <\/span><b>projects<\/b><span> folder<\/span><\/li>\n\n\n<li><span>Select the <\/span><a href=\"https:\/\/docs.couchbase.com\/cloud\/management-api-reference\/index.html#tag\/projects\/operation\/postProject\"><b>Create Project<\/b><\/a><span> operation<\/span><\/li>\n\n\n<li><span>Do not forget to change the <\/span><span>organizationId <\/span><span>path parameter to use your environment variable the same way we used in the Get Organization example<\/span><\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-14874\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/image9-1024x448-1.png\" alt=\"\" width=\"900\" height=\"394\"><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>Click on the Body tab to provide the name and the description of the project you would like to create<\/span><\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-14875\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/image15-1024x478-1.png\" alt=\"\" width=\"900\" height=\"420\"><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>Add the following script to the <\/span><b>Tests<\/b><span> to capture the Project id returned by the API<\/span><\/li>\n\n<\/ul>\n\n\n<p>[crayon nums=&#8221;false&#8221; lang=&#8221;js&#8221; decode=&#8221;true&#8221;]pm.test(&#8220;Status code is 201&#8221;, () =&gt; {<br \/>\n pm.expect(pm.response.code).to.eql(201);<br \/>\n});<\/p>\n<p>pm.test(&#8220;The response has all properties&#8221;, () =&gt; {<br \/>\n const responseJson = pm.response.json();<br \/>\n pm.expect(responseJson).to.be.an(&#8216;object&#8217;).that.is.not.empty;<br \/>\n pm.expect(responseJson.id).to.be.a(&#8220;string&#8221;);<br \/>\n pm.environment.set(&#8220;projectId&#8221;, responseJson.id);<br \/>\n});[\/crayon]<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u00a0<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>Click\u00a0 <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-14876\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/image11-1.png\" alt=\"\" width=\"70\" height=\"37\">\u00a0 to create the project. The test script will grab the id from the response and save it as <\/span><b>projectId<\/b><span> in your environment.<\/span><\/li>\n\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span>Get the details of the Project<\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><span>Next we are going to call the <strong>Get Project<\/strong> endpoint to validate that the project was created properly.<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>In the projects folder select the <\/span><a href=\"https:\/\/docs.couchbase.com\/cloud\/management-api-reference\/index.html#tag\/projects\/operation\/getProjectByID\"><b>Get Project<\/b><\/a><span> call\u00a0<\/span><\/li>\n\n\n<li><span>Change the path variable called <\/span><b>organizationId<\/b><span> to use the one from the environment<\/span><\/li>\n\n\n<li><span>Change the path variable called <\/span><span>projectId<\/span><span> to use the one from the environment<\/span><\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-14877\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/image8-1-1024x508-1.png\" alt=\"\" width=\"900\" height=\"446\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span>You should see the response and the same details you provided in the creation call.\u00a0<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-14878\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/image20-1024x453-1.png\" alt=\"\" width=\"900\" height=\"398\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span>Deploy a new cluster<\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><span>Now you are ready to deploy your very own cluster. In this step you are going to deploy a new cluster into the Project we just created.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span>In order to deploy a cluster we need to have an <\/span><b>organizationId<\/b><span> and a <\/span><b>projectId<\/b><span> and the details of the cluster.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span>In our case, We will be using the environment variables we created in the earlier steps.<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>Open the <\/span><b>clusters<\/b><span> folder in Postman<\/span><\/li>\n\n\n<li><span>Select the <\/span><a href=\"https:\/\/docs.couchbase.com\/cloud\/management-api-reference\/index.html#tag\/clusters\/operation\/postCluster\"><b>Create Cluster<\/b><\/a><span> api endpoint\u00a0<\/span><\/li>\n\n\n<li><span>Change the path variable called <\/span><b>organizationId<\/b><span> to use the one from the environment<\/span><\/li>\n\n\n<li><span>Change the path variable called <\/span><b>projectId<\/b><span> to use the one from the environment<\/span><\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-14879\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/image17-1024x502-1.png\" alt=\"\" width=\"900\" height=\"441\"><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>Open the Body tab and paste the following JSON:<\/span><\/li>\n\n<\/ul>\n\n\n<p>[crayon nums=&#8221;false&#8221; lang=&#8221;js&#8221; decode=&#8221;true&#8221;]{<br \/>\n\u00a0\u00a0\u00a0&#8220;name&#8221;:&#8221;Test-Postman-Cluster&#8221;,<br \/>\n\u00a0\u00a0\u00a0&#8220;description&#8221;:&#8221;My first test AWS cluster created with postman.&#8221;,<br \/>\n\u00a0\u00a0\u00a0&#8220;cloudProvider&#8221;:{<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;type&#8221;:&#8221;aws&#8221;,<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;region&#8221;:&#8221;us-east-1&#8243;,<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;cidr&#8221;:&#8221;10.1.200.0\/23&#8243;<br \/>\n\u00a0\u00a0\u00a0},<br \/>\n\u00a0\u00a0\u00a0&#8220;couchbaseServer&#8221;:{<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;version&#8221;:&#8221;7.1&#8243;<br \/>\n\u00a0\u00a0\u00a0},<br \/>\n\u00a0\u00a0\u00a0&#8220;serviceGroups&#8221;:[<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0{<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;node&#8221;:{<br \/>\n \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;compute&#8221;:{<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;cpu&#8221;:4,<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;ram&#8221;:16<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0},<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;disk&#8221;:{<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;storage&#8221;:50,<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;type&#8221;:&#8221;gp3&#8243;,<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;iops&#8221;:3000<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0},<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;numOfNodes&#8221;:3,<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;services&#8221;:[<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;data&#8221;,<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;query&#8221;,<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;index&#8221;,<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;search&#8221;<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0]<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0},<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0{<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;node&#8221;:{<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;compute&#8221;:{<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;cpu&#8221;:4,<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;ram&#8221;:32<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0},<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;disk&#8221;:{<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;storage&#8221;:50,<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;type&#8221;:&#8221;io2&#8243;,<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;iops&#8221;:3005<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0},<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;numOfNodes&#8221;:2,<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;services&#8221;:[<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;analytics&#8221;<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0]<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}<br \/>\n\u00a0\u00a0\u00a0],<br \/>\n\u00a0\u00a0\u00a0&#8220;availability&#8221;:{<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;type&#8221;:&#8221;multi&#8221;<br \/>\n\u00a0\u00a0\u00a0},<br \/>\n\u00a0\u00a0\u00a0&#8220;support&#8221;:{<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;plan&#8221;:&#8221;developer pro&#8221;,<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;timezone&#8221;:&#8221;PT&#8221;<br \/>\n\u00a0\u00a0\u00a0}<br \/>\n}[\/crayon]<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>Add the following script to the <\/span><b>Tests<\/b><span> to capture the Cluster id returned by the API<\/span><\/li>\n\n<\/ul>\n\n\n<p>[crayon nums=&#8221;false&#8221; lang=&#8221;js&#8221; decode=&#8221;true&#8221;]pm.test(&#8220;Status code is 202&#8221;, () =&gt; {<br \/>\n pm.expect(pm.response.code).to.eql(202);<br \/>\n});<\/p>\n<p>pm.test(&#8220;The response has all properties&#8221;, () =&gt; {<br \/>\n const responseJson = pm.response.json();<br \/>\n pm.expect(responseJson).to.be.an(&#8216;object&#8217;).that.is.not.empty;<br \/>\n pm.expect(responseJson.id).to.be.a(&#8220;string&#8221;);<br \/>\n pm.environment.set(&#8220;clusterId&#8221;, responseJson.id);<br \/>\n});[\/crayon]<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>Click\u00a0 <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-14876\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/image11-1.png\" alt=\"\" width=\"69\" height=\"36\"> to create the cluster. The test script will grab the id from the response and save it as <\/span><b>clusterId<\/b><span> in your environment.<\/span><\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><span>At this point, I will open Capella to check if my cluster is deployed.<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>Log into Capella<\/span><\/li>\n\n\n<li><span>Go to the Databases section and find your database<\/span><\/li>\n\n\n<li><span>Click on the Database<\/span><\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-14880\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/image13-1024x264-1.png\" alt=\"\" width=\"900\" height=\"232\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-14881\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/image7-1-1024x156-1.png\" alt=\"\" width=\"900\" height=\"137\"><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>Click on your database to open the details of the deployed cluster<\/span><\/li>\n\n\n<li><span>Click on Settings to check the summary of the cluster<\/span><\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-14882\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/image1-1024x544-1.png\" alt=\"\" width=\"900\" height=\"478\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span>We can see our deployed cluster here. It is important to note that the API-key that was used to create the cluster is also shown on this screen.<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span>Set up CIDRs for the cluster<\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><span>In the last section, we are going to add an IP address to the allowed list of the deployed cluster to make sure you can access the cluster from a given location.<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>Open the <\/span><b>allowedCIDRs(Cluster)<\/b><span> folder in Postman<\/span><\/li>\n\n\n<li><span>Select the <\/span><a href=\"https:\/\/docs.couchbase.com\/cloud\/management-api-reference\/index.html#tag\/allowedCIDRs(Cluster)\/operation\/postAllowedCidrs\"><b>Create Allowed CIDR<\/b><\/a><span> api endpoint\u00a0<\/span><\/li>\n\n\n<li><span>Change the path variable called <\/span><b>organizationId<\/b><span> to use the one from the environment<\/span><\/li>\n\n\n<li><span>Change the path variable called <\/span><b>projectId<\/b><span> to use the one from the environment<\/span><\/li>\n\n\n<li><span>Change the path variable called <\/span><b>clusterId<\/b><span> to use the one from the environment<\/span><\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-14883\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/image2-1024x431-1.png\" alt=\"\" width=\"900\" height=\"379\"><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>Click on the <\/span><b>Body<\/b><span> tab to add your IP address<\/span><\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-14884\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/image6-1024x291-1.png\" alt=\"\" width=\"900\" height=\"256\"><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span>Click\u00a0 <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-14876\" src=\"https:\/\/www.couchbase.com\/wp-content\/uploads\/sites\/5\/2026\/05\/image11-1.png\" alt=\"\" width=\"69\" height=\"36\"> to add your IP to the allowed CIDR list of your cluster.<\/span><\/li>\n\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span>Wrapping Up<\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><span>We hope this guide has provided you with all the necessary steps to get up and running with our new API v4. But setting up and testing endpoints in Postman is just the tip of the iceberg. The real excitement begins when you start integrating this robust API into your own tools and workflows to automate various tasks that your organization handles on a daily basis. Make sure you check out our <\/span><a href=\"https:\/\/docs.couchbase.com\/cloud\/management-api-reference\/index.html\"><span>API reference guide<\/span><\/a><span> to learn about the different endpoints and functionality.\u00a0<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span>If you have questions or feedback, please leave a comment below. The <\/span><a href=\"https:\/\/forums.couchbase.com\/\"><span>Couchbase Forums<\/span><\/a><span> or <\/span><a href=\"https:\/\/discord.com\/invite\/K7NPMPGrPk\"><span>Couchbase discord <\/span><\/a><span>channels are another good place to reach out with questions.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span>Happy coding!<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;re incredibly excited to present to you the new features of our Capella Management API. The new version of the API has been redesigned from the ground-up to be more RESTful, extensible, robust and secure. With an array of functionalities focused on enhancing control, security, and ease of use, we&#8217;re sure you&#8217;ll find many ways [&hellip;]<\/p>\n","protected":false},"author":84313,"featured_media":2919,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"_acf":"","footnotes":""},"categories":[301,117,144,49],"tags":[738,739,740,741,650,255,742],"ppma_author":[651],"class_list":["post-2922","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud","category-golang","category-java","category-node-js","tag-http","tag-iac","tag-infrastructure-as-core","tag-managed-database","tag-postman","tag-rest-api","tag-vault"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.6 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Programmatic Administration of Capella Deployments with the Capella Management API - The Couchbase Blog<\/title>\n<meta name=\"description\" content=\"In this post, we will walkthrough a simple example of using Postman to interact with and execute the new features of the Capella Management API.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.couchbase.com\/blog\/programmatic-admin-capella-management-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Programmatic Administration of Capella Deployments with the Capella Management API\" \/>\n<meta property=\"og:description\" content=\"In this post, we will walkthrough a simple example of using Postman to interact with and execute the new features of the Capella Management API.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/programmatic-admin-capella-management-api\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-19T16:05:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/05\/capella-admin-.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Istvan Orban, Principal Product Manager\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Istvan Orban, Principal Product Manager\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/programmatic-admin-capella-management-api\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/programmatic-admin-capella-management-api\\\/\"},\"author\":{\"name\":\"Istvan Orban, Principal Product Manager\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#\\\/schema\\\/person\\\/da80693db66ef61daaabe98bc56afc26\"},\"headline\":\"Programmatic Administration of Capella Deployments with the Capella Management API\",\"datePublished\":\"2023-09-19T16:05:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/programmatic-admin-capella-management-api\\\/\"},\"wordCount\":1933,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/programmatic-admin-capella-management-api\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2026\\\/05\\\/capella-admin-.jpg\",\"keywords\":[\"HTTP\",\"IaC\",\"Infrastructure-as-Core\",\"Managed database\",\"Postman\",\"REST API\",\"Vault\"],\"articleSection\":[\"Couchbase Capella\",\"GoLang\",\"Java\",\"Node.js\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/programmatic-admin-capella-management-api\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/programmatic-admin-capella-management-api\\\/\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/programmatic-admin-capella-management-api\\\/\",\"name\":\"Programmatic Administration of Capella Deployments with the Capella Management API - The Couchbase Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/programmatic-admin-capella-management-api\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/programmatic-admin-capella-management-api\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2026\\\/05\\\/capella-admin-.jpg\",\"datePublished\":\"2023-09-19T16:05:21+00:00\",\"description\":\"In this post, we will walkthrough a simple example of using Postman to interact with and execute the new features of the Capella Management API.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/programmatic-admin-capella-management-api\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/programmatic-admin-capella-management-api\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/programmatic-admin-capella-management-api\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2026\\\/05\\\/capella-admin-.jpg\",\"contentUrl\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2026\\\/05\\\/capella-admin-.jpg\",\"width\":1200,\"height\":628},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/programmatic-admin-capella-management-api\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Programmatic Administration of Capella Deployments with the Capella Management API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/\",\"name\":\"The Couchbase Blog\",\"description\":\"Couchbase, the NoSQL Database\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2026\\\/06\\\/logo.svg\",\"contentUrl\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/5\\\/2026\\\/06\\\/logo.svg\",\"width\":\"1024\",\"height\":\"1024\",\"caption\":\"The Couchbase Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/#\\\/schema\\\/person\\\/da80693db66ef61daaabe98bc56afc26\",\"name\":\"Istvan Orban, Principal Product Manager\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e9cd4de97ab3b6e0a219e0b467b88ea85c7ff3b03396cd7f444828012befe66a?s=96&d=mm&r=g1f058fdc7ceeed323cb0993693c690e0\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e9cd4de97ab3b6e0a219e0b467b88ea85c7ff3b03396cd7f444828012befe66a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e9cd4de97ab3b6e0a219e0b467b88ea85c7ff3b03396cd7f444828012befe66a?s=96&d=mm&r=g\",\"caption\":\"Istvan Orban, Principal Product Manager\"},\"description\":\"Istvan Orban is the Principal Product Manager for Couchbase and lives in the United Kingdom. Istvan has a wide range of experience as a Full stack Software Engineer, Team leader and Devops Engineer. His main focus is security and Single Sign On. Istvan has led several large scale projects of his 20 year professional career.\",\"url\":\"https:\\\/\\\/www.couchbase.com\\\/blog\\\/author\\\/istvanorban\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Programmatic Administration of Capella Deployments with the Capella Management API - The Couchbase Blog","description":"In this post, we will walkthrough a simple example of using Postman to interact with and execute the new features of the Capella Management API.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.couchbase.com\/blog\/programmatic-admin-capella-management-api\/","og_locale":"en_US","og_type":"article","og_title":"Programmatic Administration of Capella Deployments with the Capella Management API","og_description":"In this post, we will walkthrough a simple example of using Postman to interact with and execute the new features of the Capella Management API.","og_url":"https:\/\/www.couchbase.com\/blog\/programmatic-admin-capella-management-api\/","og_site_name":"The Couchbase Blog","article_published_time":"2023-09-19T16:05:21+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/05\/capella-admin-.jpg","type":"image\/jpeg"}],"author":"Istvan Orban, Principal Product Manager","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Istvan Orban, Principal Product Manager","Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/programmatic-admin-capella-management-api\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/programmatic-admin-capella-management-api\/"},"author":{"name":"Istvan Orban, Principal Product Manager","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/da80693db66ef61daaabe98bc56afc26"},"headline":"Programmatic Administration of Capella Deployments with the Capella Management API","datePublished":"2023-09-19T16:05:21+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/programmatic-admin-capella-management-api\/"},"wordCount":1933,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/programmatic-admin-capella-management-api\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/05\/capella-admin-.jpg","keywords":["HTTP","IaC","Infrastructure-as-Core","Managed database","Postman","REST API","Vault"],"articleSection":["Couchbase Capella","GoLang","Java","Node.js"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/programmatic-admin-capella-management-api\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/programmatic-admin-capella-management-api\/","url":"https:\/\/www.couchbase.com\/blog\/programmatic-admin-capella-management-api\/","name":"Programmatic Administration of Capella Deployments with the Capella Management API - The Couchbase Blog","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/programmatic-admin-capella-management-api\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/programmatic-admin-capella-management-api\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/05\/capella-admin-.jpg","datePublished":"2023-09-19T16:05:21+00:00","description":"In this post, we will walkthrough a simple example of using Postman to interact with and execute the new features of the Capella Management API.","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/programmatic-admin-capella-management-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/programmatic-admin-capella-management-api\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/programmatic-admin-capella-management-api\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/05\/capella-admin-.jpg","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/05\/capella-admin-.jpg","width":1200,"height":628},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/programmatic-admin-capella-management-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Programmatic Administration of Capella Deployments with the Capella Management API"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/blog\/#website","url":"https:\/\/www.couchbase.com\/blog\/","name":"The Couchbase Blog","description":"Couchbase, the NoSQL Database","publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"The Couchbase Blog","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/06\/logo.svg","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/06\/logo.svg","width":"1024","height":"1024","caption":"The Couchbase Blog"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/da80693db66ef61daaabe98bc56afc26","name":"Istvan Orban, Principal Product Manager","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/e9cd4de97ab3b6e0a219e0b467b88ea85c7ff3b03396cd7f444828012befe66a?s=96&d=mm&r=g1f058fdc7ceeed323cb0993693c690e0","url":"https:\/\/secure.gravatar.com\/avatar\/e9cd4de97ab3b6e0a219e0b467b88ea85c7ff3b03396cd7f444828012befe66a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e9cd4de97ab3b6e0a219e0b467b88ea85c7ff3b03396cd7f444828012befe66a?s=96&d=mm&r=g","caption":"Istvan Orban, Principal Product Manager"},"description":"Istvan Orban is the Principal Product Manager for Couchbase and lives in the United Kingdom. Istvan has a wide range of experience as a Full stack Software Engineer, Team leader and Devops Engineer. His main focus is security and Single Sign On. Istvan has led several large scale projects of his 20 year professional career.","url":"https:\/\/www.couchbase.com\/blog\/author\/istvanorban\/"}]}},"acf":[],"authors":[{"term_id":651,"user_id":84313,"is_guest":0,"slug":"istvanorban","display_name":"Istvan Orban, Principal Product Manager","avatar_url":{"url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/05\/image_2023-04-25_205027722-17.png","url2x":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/5\/2026\/05\/image_2023-04-25_205027722-17.png"},"author_category":"","first_name":"Istvan","last_name":"Orban, Principal Product Manager","user_url":"","job_title":"","description":"Istvan Orban is the Principal Product Manager for Couchbase and lives in the United Kingdom. Istvan has a wide range of experience as a Full stack Software Engineer, Team leader and Devops Engineer. His main focus is security and Single Sign On. Istvan has led several large scale projects of his 20 year professional career."}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/2922","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/users\/84313"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/comments?post=2922"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/2922\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media\/2919"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media?parent=2922"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/categories?post=2922"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/tags?post=2922"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=2922"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}