---
title: "Set limits configured"
method: POST
path: "/_api/limits/enable"
tags: ["Administration"]
---

# Set limits configured

`POST /_api/limits/enable`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/macrometa/apis/macrometa-api-reference/docs/_api/limits/enable/post.ts> (a function with typed inputs; its response is checked against the schema)

Enable configuration of limits for all tenants. If set to *false* the limits are not enforced.

## Query parameters

- `value` boolean, required

## Response `200`

Successfully enabled limits.

- object
  - `code` integer: HTTP response code.
  - `error` boolean: Flag if there is an error in response. *False* for this response.
  - `result` SetEnableLimitsFlag
    - `value` boolean: The flag value for enable limits. This value is applicable for all tenants. This is a boolean field. Set this value to true, if limits need to be enabled, else set it to *false* to disable limits.

## Other responses

- `400`: Failed due to missing or malformed data. Verify that all parameters are complete.
- `401`: Failed because you do not have administrator permissions.
- `403`: Failed to validate because you do not have access to the server.

---

[API](https://skmtc.dev/macrometa/apis/macrometa-api-reference.md) - [All operations](https://skmtc.dev/macrometa/apis/macrometa-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/macrometa/apis/macrometa-api-reference/revisions/2006b6d7f31d?raw)
