SecureAuth (incl. Cloudentity) Limits API
The limits API from SecureAuth (incl. Cloudentity) — 2 operation(s) for limits.
The limits API from SecureAuth (incl. Cloudentity) — 2 operation(s) for limits.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/secureauth:secureauth-limits-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
description: 'SecureAuth Root API
The POST APIs support idempotency for safely retrying requests without accidentally performing the same operation twice.
To use idempotent requests:
1. Generate a unique idempotency key (32-255 characters long).
2. Include the key in the X-Idempotency-Key header of your POST request.
3. Retry failed requests with the same key within 1 minute.
Responses for replayed requests will include the X-Idempotent-Replayed: true header.'
title: SecureAuth Limits API
version: latest
servers:
- url: https://localhost:8443/
tags:
- name: Limits
paths:
/api/admin/tenants/{tid}/rate-limits:
get:
description: List custom rate limits per tenant.
operationId: listRateLimits
parameters:
- description: Tenant id
in: path
name: tid
required: true
schema:
type: string
default: default
responses:
'200':
$ref: '#/components/responses/ListRateLimitsResponse'
'401':
$ref: '#/components/responses/unauthorizedHTTPError'
'403':
$ref: '#/components/responses/forbiddenHTTPError'
'404':
$ref: '#/components/responses/notFoundHTTPError'
'429':
$ref: '#/components/responses/tooManyRequestsHTTPError'
security:
- adminSystem: []
summary: List rate limits
tags:
- Limits
/api/admin/tenants/{tid}/rate-limits/{module}:
delete:
description: Delete custom rate limit for a module per tenant.
operationId: deleteRateLimit
parameters:
- description: Tenant id
in: path
name: tid
required: true
schema:
type: string
default: default
- in: path
name: module
required: true
schema:
type: string
responses:
'204':
description: ' custom rate limit has been deleted'
'401':
$ref: '#/components/responses/unauthorizedHTTPError'
'403':
$ref: '#/components/responses/forbiddenHTTPError'
'404':
$ref: '#/components/responses/notFoundHTTPError'
'429':
$ref: '#/components/responses/tooManyRequestsHTTPError'
security:
- adminSystem: []
summary: Delete rate limit
tags:
- Limits
put:
description: Set custom rate limit for a module per tenant.
operationId: setRateLimit
parameters:
- description: Tenant id
in: path
name: tid
required: true
schema:
type: string
default: default
- in: path
name: module
required: true
schema:
type: string
responses:
'204':
description: ' custom rate limit has been saved'
'401':
$ref: '#/components/responses/unauthorizedHTTPError'
'403':
$ref: '#/components/responses/forbiddenHTTPError'
'404':
$ref: '#/components/responses/notFoundHTTPError'
'429':
$ref: '#/components/responses/tooManyRequestsHTTPError'
security:
- adminSystem: []
summary: Set rate limit
tags:
- Limits
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SetRateLimitRequest'
components:
responses:
forbiddenHTTPError:
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
notFoundHTTPError:
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
unauthorizedHTTPError:
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
tooManyRequestsHTTPError:
description: Too many requests
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
ListRateLimitsResponse:
description: Tenant rate limits
content:
application/json:
schema:
$ref: '#/components/schemas/ListRateLimitsResponse'
schemas:
Error:
description: HTTP error response
properties:
details:
type: object
error:
type: string
error_code:
type: string
status_code:
format: int64
type: integer
type: object
ListRateLimitsResponse:
properties:
global:
additionalProperties:
$ref: '#/components/schemas/RateLimitModel'
type: object
tenant:
additionalProperties:
$ref: '#/components/schemas/RateLimitModel'
type: object
type: object
SetRateLimitRequest:
properties:
burst:
description: max burst
format: int64
type: integer
period:
description: period
format: duration
type: string
rate:
description: rate
format: int64
type: integer
type: object
RateLimitModel:
properties:
burst:
description: max burst
format: int64
type: integer
period:
description: period
format: duration
type: string
rate:
description: rate
format: int64
type: integer
type: object
securitySchemes:
adminSystem:
type: oauth2
flows:
authorizationCode:
scopes: {}
authorizationUrl: /system/admin/oauth2/authorize
tokenUrl: /system/admin/oauth2/token
setup:
type: oauth2
flows:
authorizationCode:
scopes:
manage_configuration: manage_configuration
push_audit_events: push_audit_events
authorizationUrl: /system/system/oauth2/authorize
tokenUrl: /system/system/oauth2/token