Skip to main content

Posts

Showing posts with the label WSO2 API Cloud

How to block a particular user from accessing an API

1. Login to Admin Dashboard from the admin user. ( https://api.cloud.wso2.com/ad min/ ) 2. Click Black List under the Throttle Policies section and click Add Item (Refer to the screenshot below) 3.  Select the condition type as the user and give the full qualified username as the value and click blacklist. (Refer to the screenshot below) For example, if you want to block the user amalka@wso2.com  from invoking APIs, you have to provide the value as amalka@wso2.com@amalkaorg  by appending the organization key at the end of the username with '@' character.  If you follow the above steps, the user will not be able to invoke APIs. Also please note that if you blacklist, the user will not be able to invoke any API until you remove the blacklist policy.

How to insert a Getting started guide into my WSO2 API Store

Let's say I have published a API and I want to let my API store users how they can use the API. Currently this can be done by adding API documentation. So with this you will need to add the documentation to each API. The documentation types supported in the API Publisher are as follows: In-line URL-based File-based Please refer [1] for more information regarding this.  If your requirement is to add a generic guide to the store unfortunately this is something not possible at the moment.  [1] https://docs.wso2.com/display/ APICloud/Add+API+Documentation

How to allow WSO2 cloud team to access your tenant

Sometimes, you may require to access your tenant by WSO2 cloud team, to investigate a issue, do some configurations changes on behalf of you, etc... This blog will say how you can allow WSO2 cloud team to access your tenant. 1. Go to cloud organization management portal: https://cloudmgt.cloud.wso2. com/cloudmgt/site/pages/ organization.jag 2. Click on check box (Allow Access to WSO2 Support) inline with your tenant name Later you can remove it clicking on the check box agina.

How to remove a thumbnail from an API

Let's say you have created an API in API cloud and you have added thumbnail image to it. Now you want to remove it. When you go to the edit api view it allows you to change the thumbnail, but not remove. Let's see how we can remove it. 1. login to the carbon console of gateway node as tenant admin https://gatewaymgt.api.cloud.wso2.com/carbon 2. Go to Resource -> Browse under main menu 3. Go to "/_system/governance/apimgt/ applicationdata/provider"  4. Click on the relevant tenant - you will see list of APIs (eg: amalka-AT-wso2.com-AT-esbtenant1) 5. Select relevant API - you will see api artifact   (eg: api1 under version 1.0.0) 6. Click on "api" - you will see list of meta data for that api 7. Remove the thumbnail value from attribute "Thumbnail" 8. Save the API 9. Then logout from the API publisher UI and login in incognito window, you will see thumbnail has removed from your API. ...

How to start multiple services as a group in WSO2 Integration Cloud

Let's say, we have a use case which is deployed in Integration Cloud and that involves number of applications. There can be a PHP/Web application which user interact, ESB which provide integration with number of systems and DSS to manipulate database. So let's say we want to start/stop these 3 applications as a group. But at the moment, Integration Cloud does not provide any grouping. So you have to login to the Integration Cloud and go to each and every application and start/stop those. To make this little easier, we can use Integration Cloud REST API and write our own script. This is the script to start the all applications as a group. You need to provide username, password, organization name and file which contains application list with versions How to execute this script ./startProject.sh <username> <password> <orgnaizationName> wso2Project.txt wso2Project.txt file content should be like this. There you should provide applicationName and ve...

How to change the organization name and key appear in WSO2 Cloud UI

Here are the instructions to change the Organisation Name: 1. Go to Organization Page from Cloud management app. 2. Select the organization that you want to change and select profile 3. Change the Organization name and update the profile How to change the Organization Key: Changing Organization Key is not possible. We generate the  key  from the  organization  name users provide at the registration time. It is a unique value and plays a major role in multi-tenancy. We have certain internal criteria for this  key . Another reason why we cannot do this is, we are using the  organization   key  in the internal registries when storing API related metadata. So, if we  change  it, there is a data migration involved.

How to change the organisation name appear in WSO2 Cloud invoices

Let's say you want to change the organisation name appear in invoices when you subscribe to a paid plan. Here are the instructions: 1. Login to the WSO2 Cloud and go the the Accounts page. 2. You can find the contact information in the Accounts page. Click on 'update contact Info'. 3. Change the organization name, Add the organization name which you want to display in the invoice. 4. Save the changes. 5. You can see the changed organization name in the Accounts Summary.

How to add a new payment method to the WSO2 Cloud

Here are the instructions: 1. Go to: https://cloudmgt.cloud.wso2.com/cloudmgt/site/pages/account-summary.jag 2. Log in with your WSO2 credentials (email and password), 3. Click the 'New Payment Method' button: 4. Supply the new credit card information, click the Payment Info button and then the Proceed button. Let us know if you need further help :)