How Do I Change the Ownership of an API?
About this task
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
- Log on to webMethods API Gateway as a user with the change owner privilege.
- Click APIs on the title navigation bar.
- Click
petstore.
The API details page appears. The owner of the API petstore is user1 as displayed in the Basic information section.
- Click change.
- 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. - An approval request is sent to the approver.
- The approver approves the
request that resides in the
Pending Requests section of the
webMethods 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.
- The owner of the API
petstore is changed from
user1 to
user2.