---
title: "Edit domain ratelimits"
method: POST
path: "/api/v1/edit/rl-domain/"
tags: ["Ratelimits"]
---

# Edit domain ratelimits

`POST /api/v1/edit/rl-domain/`

Using this endpoint you can edit the ratelimits for a certain domains.

## Request body

- object
  - `attr` object
    - `rl_frame` string — contains the frame for the ratelimit h,s,m
    - `rl_value` number — contains the rate for the ratelimit 10,20,50,1
  - `items` object — contains list of domains you want to edit the ratelimit of

## Response `200`

OK

- object
  - `log` unknown[] — contains request object
    - unknown
  - `msg` unknown[]
    - unknown
  - `type` 'success' | 'danger' | 'error'

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.net/mailcow/apis/mailcow-api.md) · [All operations](https://skmtc.net/mailcow/apis/mailcow-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mailcow/mailcow-api/versions/ae01d1d7886a/schema)
