How Do I Change the Ownership of an API?
This use case explains how to change the ownership of an API. You can configure an approval process for the change of ownership to take effect, if required.
The use case starts when you have an API that requires a change of owner and ends when you successfully change the API's ownership.
In this example, an API petstore is owned by user1. The ownership of petstore has to be changed to user2 through an approval process.
Before you begin
Ensure that you have the change owner privilege.
To change the ownership of an API
1. Log on to API Gateway as a user with the change owner privilege.
2. Click APIs on the title navigation bar.
3. Click petstore.
The API details page appears. The owner of the API petstore is user1 as displayed in the Basic information section.
4. Click change.
5. Select
user2 from the list and click
.
The change approval process is initiated.
Note:
If the approval flow is not configured, the owner of the API changes to user2 and a success message appears. Skip to step 8.
6. An approval request is sent to the approver.
7. The approver approves the request that resides in the Pending Requests section of the API Gateway UI.
Note:
The approver can click Reject to reject the request for ownership change if the request is invalid. A reject notification is sent to the requester and the ownership of petstore remains with user1.
Click Change ownership request details to view the request details. The Request details dialog box appears.
The approval notification is sent to the requester.
8. The owner of the API petstore is changed from user1 to user2.