What is Consumer
In API7 Cloud, a Consumer represents a caller of the Application or API, a Consumer will attach some Policies like authentication, throttling to limit the access.
How to Create a Consumer
After you sign in to API7 Cloud and click on the Consumers tab (under the API Management), API7 Cloud will redirect you to the Consumer list page (this is the place where you can find all existing Consumers).
Press the Create Consumer button and fill out the form to create the Consumer.
Two kinds of content you should fill out:
- Basic, including the name and description. Note that the name of Consumer is unique and cannot be modified later.
- Policies, where you can specify a set of policies (such as configuring authentication credentials and the rate-limiting quota).
Get Consumer Details
On the Consumer list page, search for the Consumer you want, click on the Consumer name. API7 Cloud will redirect you to the Consumer details page.
Update a Consumer
There are two ways that you can edit a Consumer.
On the Consumer list page, search for the Consumer you want and click on the pencil icon, you'll be redirected to the Consumer update page.
On the other hand, you can update a Consumer after you enter the Consumer details page, Click on the pencil icon in the upper right, and similarly, you'll be redirected to the Consumer update page.
Delete a Consumer
danger
IT'S DANGEROUS TO DELETE A CONSUMER UNLESS YOU KNOW THIS CONSUMER IS NO LONGER BEING USED.
Click on the trash bin icon to delete the Consumer, and API7 Cloud will ask you to write the name of the target Consumer.
What's Next
- Learn about Policy.