# RateLimits

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits">rate_limits</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits#Action">Action</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits">rate_limits</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits#RateLimit">RateLimit</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits">rate_limits</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits#RateLimitDeleteResponse">RateLimitDeleteResponse</a>

Methods:

- <code title="post /zones/{zone_id}/rate_limits">client.RateLimits.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits#RateLimitService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits">rate_limits</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits#RateLimitNewParams">RateLimitNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits">rate_limits</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits#RateLimit">RateLimit</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /zones/{zone_id}/rate_limits">client.RateLimits.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits#RateLimitService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits">rate_limits</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits#RateLimitListParams">RateLimitListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#V4PagePaginationArray">V4PagePaginationArray</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits">rate_limits</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits#RateLimit">RateLimit</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /zones/{zone_id}/rate_limits/{rate_limit_id}">client.RateLimits.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits#RateLimitService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, rateLimitID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits">rate_limits</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits#RateLimitDeleteParams">RateLimitDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits">rate_limits</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits#RateLimitDeleteResponse">RateLimitDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /zones/{zone_id}/rate_limits/{rate_limit_id}">client.RateLimits.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits#RateLimitService.Edit">Edit</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, rateLimitID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits">rate_limits</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits#RateLimitEditParams">RateLimitEditParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits">rate_limits</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits#RateLimit">RateLimit</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /zones/{zone_id}/rate_limits/{rate_limit_id}">client.RateLimits.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits#RateLimitService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, rateLimitID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits">rate_limits</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits#RateLimitGetParams">RateLimitGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits">rate_limits</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rate_limits#RateLimit">RateLimit</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
