API access UseCases on webMethods.io Dev portal
Tags: webmethods, apimanagement, apigateway, apiportal
Published: 2022-02-17 05:02:10

---
title: API access UseCases on webMethods.io Dev portal
published: true
date: 2022-02-16 07:12:52 UTC
tags: webmethods, apimanagement, apigateway, apiportal
canonical_url: https://tech.forums.softwareag.com/t/api-access-usecases-on-webmethods-io-dev-portal/255278
---

### Introduction

This article explains about how to restrict the API access for different customers on Dev portal

### Audience

It is assumed that readers of this article know how to setup API’s on API gateway and Dev portal.

### Prerequisites

• Active tenant subscription on [Webmethods.io](http://Webmethods.io) API Gateway and Dev Portal  
• APIs configured on API Gateway

### Usecase

• In our use case we have 4 API’s .  
• 2 APIs belongs to Amazon partner and other 2 belongs to Facebook.  
• We will publish these API to their respective community from API Gateway.  
• Access to these API will be granted based on the access level to the community.

### Benefits to Business Use case

• User given the API consumer access role, can access only API available on private community  
• User will not be able to see the API’s available on other private communities  
• User can see the analytics of their APIs only.  
• Access governed at community level instead of user level.

[![image](https://aws1.discourse-cdn.com/techcommunity/optimized/3X/d/6/d6af9b240dd34f11bba192dc7db56625fa162f50_2_690x285.png)](https://aws1.discourse-cdn.com/techcommunity/original/3X/d/6/d6af9b240dd34f11bba192dc7db56625fa162f50.png "image")

### What is Community in Dev Portal?

• Community facilitates API Administrators or API Providers in handling API visibility among the Developer Portal users.  
• Users with API Administrator and API Provider privileges can create communities and manage the members of a community.  
• There are two types of communities in Developer Portal - private community and public community.

### Private community

• As the name suggests, a private community contains APIs that are available only for its members.

### Public community

• The public community comes along with the product installation and is open to all users, registered or non-registered.

**Create User**

- Create user on Dev portal using manage users

- In our case we will create 2 user one for Amazon API and other for Facebook API.

- Navigate to manage users and add 2 users.

- In our case username will be

[![image](https://aws1.discourse-cdn.com/techcommunity/optimized/3X/6/6/660aa20b81c4fcbc3c265d177fb4e6f6a5d6488c_2_690x221.png)](https://aws1.discourse-cdn.com/techcommunity/original/3X/6/6/660aa20b81c4fcbc3c265d177fb4e6f6a5d6488c.png "image")

• Provide API consumer role to both the users.

[![image](https://aws1.discourse-cdn.com/techcommunity/optimized/3X/a/9/a9aab3010f32692bb49fd54bf5b33e25cd2a09de_2_690x257.png)](https://aws1.discourse-cdn.com/techcommunity/original/3X/a/9/a9aab3010f32692bb49fd54bf5b33e25cd2a09de.png "image")

### Create Private Community

Visit the [original article](https://tech.forums.softwareag.com/t/api-access-usecases-on-webmethods-io-dev-portal/255278) to learn the steps to create a Private Community!