---
title: "Upsert rate limit"
method: PUT
path: "/v2/RateLimits/Fields/{Field}/Bucket/{Bucket}"
---

# Upsert rate limit

`PUT /v2/RateLimits/Fields/{Field}/Bucket/{Bucket}`

## Path parameters

- `Field` string, required
- `Bucket` string, required

## Request body

- RateLimitRequest — Rate limit request schema
  - `limit` integer — Limit of requests for the bucket
  - `ttl` integer — Time to live of the rule

## Response `200`

OK

- RateLimitResponse — Rate limit response schema
  - `field` string — Limit of requests for the bucket
  - `limit` integer — Limit of requests for the bucket
  - `bucket` string — Name of the bucket
  - `owner` string — Owner of the rule
  - `ttl` integer — Time to live of the rule

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/twilio/apis/twilio-lookups.md) · [All operations](https://skmtc.net/twilio/apis/twilio-lookups/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/twilio/twilio-lookups/revisions/306ca9c16537/schema)
