---
title: "Test rate limit"
method: POST
path: "/tkhq/api/v1/test_rate_limits"
tags: ["RateLimit"]
---

# Test rate limit

`POST /tkhq/api/v1/test_rate_limits`

Set a rate local rate limit just on the current endpoint, for purposes of testing with Vivosuite.

## Request body

- V1TestRateLimitsRequest
  - `organizationId` string, required — Unique identifier for a given organization. If the request is being made by a WebAuthN user and their sub-organization ID is unknown, this can be the parent organization ID; using the sub-organization ID when possible is preferred due to performance reasons.
  - `isSetLimit` boolean, required — Whether or not to set a limit on this request.
  - `limit` integer, required — Rate limit to set for org, if is_set_limit is set to true.

## Response `200`

A successful response.

- V1TestRateLimitsResponse

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.dev/turnkey/apis/api-reference.md) · [All operations](https://skmtc.dev/turnkey/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/turnkey/api-reference/revisions/4d8a7c63c511/schema)
