Changing the Owner of an Application¶
If required, you can transfer the ownership of your application to another user in your organization. Thereby, when transferring ownership, the new owner will have the required permission to delete or edit the respective application.
For example, let's consider that Chris and Kim are in the same organization and that Chris owns TestApp and that Chris wants to transfer the ownership of TestApp to Kim.
Follow the instructions below to change the ownership of an application:
- Start the WSO2 API-M Server.
-
If the users do not exist in the system, create them.
-
Sign in to the WSO2 API-M Management Console.
https://<APIM-hostname>:9443/carbon
-
Create two users named Chris and Kim with the
Internal/subscriber
role.
-
-
Check the details of the application that you wish to share in the Developer Portal (e.g., TestApp).
-
Sign in to the WSO2 API-M Developer Portal using the application owner's (Chris's) user credentials.
https://<APIM-hostname>:9443/devportal
-
If the application does not exist, create it in the Developer Portal.
-
-
Change the ownership of the application.
-
Sign in to the WSO2 API-M Admin Portal using admin credentials.
https://<APIM-hostname>:9443/admin
-
Click Applications under Settings. This shows you the list of applications together with the respective owners.
-
Search for the application that you want to share and click Edit.
-
Update the Owner field with the new owner's username (Kim).
Troubleshooting
If you get a "
<username> is not a subscriber
" error (e.g., Kim is not a subscriber) in the Admin Portal, make sure to request that specific user (e.g., Kim) to sign in to the WSO2 Developer Portal, because users are not added as subscribers until they sign in to the Developer Portal at least once.The application page shows the new ownership.
Now, when Chris signs in to the Developer Portal, the application named "TestApp" does not appear, and when Kim signs in to the Developer Portal the application named "TestApp" appears under the application list.
-