Step-by-step instructions on how to change the organization owner.
IBM API Connect on IBM Cloud has several offering styles, including IBM API Connect Reserved Instance. It is an individual API Connect instance that runs on IBM-managed infrastructure and provides a single-tenant environment at a lower cost and with more control over your environment than a traditional cloud-based offering.
Goal
In this post, I am introducing how to change the organization owner. The organization owner has the full set of access permissions to API Connect functions and can also commission APIs and tracks their business adoption. IBM does not have access to change the organization owner in IBM API Connect Reserved Instance, so this operation needs to be done by the user.
Please note that these steps are targeted for IBM API Connect Reserved Instance version 2018 users. If you are using the normal IBM API Connect on IBM Cloud or the IBM API Connect Reserved Instance version 5, you must contact IBM Cloud support to change an organization owner.
Prerequisites
An apic toolkit is provided as executable files, so no actual installation is necessary. You just need to download the required compressed file and extract the contents. In this post, we are using a CLI that provides a command line environment for working with IBM API Connect Reserved Instance.
Step 1. Use apic toolkit and log in to your IBM API Connect Reserved Instance
First, you need to log in to your IBM API Connect Reserved Instance via the toolkit:
Replace <server-hostname>
with the URL of your API Manager home page. Enter your API Connect credentials and provider/default-idp-2 as its Realm.
Command example:
Step 2. Get a list of organizations
Obtain a list of organizations and the name of the organization that you are planning to change the owner:
Replace <server-hostname>
with the URL of your API Manager home page.
Command example:
Step 3. Get a list of members in the org
We are going to use the URL of the user who will be the new organization owner. Use the command below to obtain user details, including the URL.
Replace <org-name>
with the organization name obtained in Step 2 and <server-hostname>
with the URL of your API Manager home page.
Command example:
Note: In this example, we will make the json to a new organization owner.
Step 4. Create a json file with the owner’s member url
The URL of the user needs to be saved as a json file in the following format:
I named this file changeOwner.json
Step 5. Change the organization owner
Let’s execute this command to change the organization owner:
Command example:
What’s next?
Changing the organization owner is now complete if you have followed these steps. If you have multiple organizations in your instance, you can perform the same steps to change the owner. If you have any questions or concerns with the command usage, please contact IBM Cloud support for assistance.