Hi,
There are 3 ways to do this.
- Which version of v10 are you running? Recent versions of all streams of APIC (10.0.x or 10.0.1.x or 10.0.5.x) allow the option of using the Cloud Manager UI to change the ownership of a Provider Organization:
https://www.ibm.com/docs/en/api-connect/10.0.x?topic=organizations-editing-provider-organization
https://www.ibm.com/docs/en/api-connect/10.0.1.x?topic=organizations-editing-provider-organization
https://www.ibm.com/docs/en/api-connect/10.0.5.x_lts?topic=organizations-editing-provider-organization
- In addition to Chander's reply here is a blog explaining the Toolkit update in more detail:
https://chrisphillips-cminion.github.io/apiconnect/2019/05/18/ChangeProviderOrg.html
- Finally you can also use the Provider-API to update the ownership:
1. generate your bearer token ($b) as normal for the Provider-API (set $mgmt_server_url for server):
$ curl -v -k -X POST -d '{"username": "USERNAME", "password": "PASSWORD", "realm": "provider/default-idp-2", "client_id": "CLIENT-ID", "client_secret": "CLIENT-SECRET", "grant_type": "password"}' -H 'Content-Type: application/json' -H 'Accept: application/json' $mgmt_server_url/api/token
2. get the list of associates available:
$ curl --request GET --url $mgmt_server_url/api/orgs/{org]/associates --header "Authorization: Bearer $b" --header 'accept: application/json' -k
3. choose the associate and use their URL to be the new owner:
$ curl --request POST --url $mgmt_server_url/api/orgs/{org}/transfer-owner --header "Authorization: Bearer $b" --header 'accept: application/json' --header 'content-type: application/json' --data '{"new_owner_associate_url": "$mgmt_server_url/api/orgs/{org}/associates/{associate}"}' -k
------------------------------
Nick Cawood
API Connect Consultant
IBM Hybrid Cloud Integration Expert Labs
IBM UK Ltd
https://www.linkedin.com/in/nickcawood/------------------------------
Original Message:
Sent: Tue February 07, 2023 12:45 AM
From: Kashif Qadeer
Subject: Change of Organization Owner
Hi,
We are running APIC v10 on Open Shift. Unfortunately our organization owner is leaving and we need to select one of our organization administrator to be the new owner. Please let me know what will be the steps I need to perform on cloud level to do this activity. If there is any detail then it will be very helpful.
Regards,
Kashif Qadeer.
------------------------------
Kashif Qadeer
------------------------------