Skip to content

Commit

Permalink
Merge pull request #370 from permitio/oded/per-10129-rate-limit-docs
Browse files Browse the repository at this point in the history
Rate limit section
  • Loading branch information
obsd authored Jun 20, 2024
2 parents a307e3c + 6739281 commit 3de482a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions docs/api/api-with-cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ That being said, you may want to use the API from time to time.

This can be achieved with Postman or any other REST client as well as with CLI tools like curl.

## Rate Limiting

Permit's API is rate-limited to prevent abuse.

The number of requests you can make is limited to 5,000 overall requests per minute.
For fact requests (`/v2/facts/*`), the limit is 3,000 requests per minute.
For schema requests (`/v2/schema/*`), the limit is 1,000 requests per minute.
For bulk requests, the limit is 100 requests per 10 minutes.

The rate limit is adjustable per customer, reach out to us if you need to adjust the rate limit.
## API Endpoints and Regions
All the examples in this documentation are using the `api.permit.io` endpoint.

Expand Down
2 changes: 1 addition & 1 deletion docs/how-to/build-policies/abac/building-abac-policy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Running through building this policy will be best with the aid of a simple examp

## Create User Attributes

In order to create user attributes, we need to navigate to the **Users** panel. We click the **User Attributes** button, and we have the option to **add a new user attribute**.
In order to create user attributes, we need to navigate to the **Directory** panel. We click the **Settings** button, and there on the **User Attributes** side panel and we have the option to **add attribute**.

![User Attribute Creation Window](/img/abac/user-attributes-0.png)

Expand Down

0 comments on commit 3de482a

Please sign in to comment.