Skip to main content

Overview

Adds API endpoints to an existing RLCL. Endpoints added to the RLCL will be subject to the rate limiting rules defined in the RLCL.

Endpoint

Authentication

Requires a Personal API Access Token.

Request

Headers

Path Parameters

Request Body

Full JSON Body Example - Single Endpoint

Full JSON Body Example - Multiple Endpoints

Full JSON Body Example - All Endpoints

Request Body Fields

The request body is an object containing an array of endpoint rate limit objects.

Endpoint Rate Limit Object

EnumHttpRequestMethod (endpointHTTPMethod)

  • GET - GET method
  • POST - POST method
  • PUT - PUT method
  • DELETE - DELETE method
  • PATCH - PATCH method
  • HEAD - HEAD method
  • OPTIONS - OPTIONS method
  • TRACE - TRACE method
  • ALL - All HTTP methods

EnumRateLimitTimeInterval (timeInterval)

  • ONE_SECOND - One second
  • ONE_MINUTE - One minute
  • ONE_HOUR - One hour
  • ONE_DAY - One day
  • ONE_MONTH - One month

EnumCacheErrorHandlingType (cacheErrorHandlingType)

  • FAIL - Fail request when cache error occurs
  • CONTINUE - Continue processing when cache error occurs

EnumIntervalWindowType (timeIntervalWindowType)

  • FIXED - Fixed window (resets at fixed intervals)
  • SLIDING - Sliding window (continuous rolling window)

Variable Object (targetVariable)

See Variable Definition for complete variable documentation.

Request Body Object

Notes

  • Request body must be an object with endpointRateLimitList array (even for single endpoint)
  • apiProxyName is the API Proxy name
  • endpointName is the endpoint path (e.g., “/users”), not including HTTP method
  • endpointHTTPMethod is the HTTP method (e.g., “GET”, “POST”)
  • If endpointName is “ALL”, endpointHTTPMethod should also be “ALL” or can be omitted
  • If endpointHTTPMethod is “ALL”, endpointName should also be “ALL” or can be omitted
  • endpointId is automatically resolved from endpointName and endpointHTTPMethod (not sent in request)
  • Duplicate endpoints are ignored (not added twice)
  • Endpoints are added to the existing list

Response

Success Response (200 OK)

Error Response (400 Bad Request)

or
or

cURL Example

Permissions

  • User must have IDENTITY + MANAGE permission in the project

Notes and Warnings

  • Request Body Format:
    • Request body must be an object with endpointRateLimitList array
    • Even for single endpoint, use object format with array inside
  • API Proxy Name:
    • Use API Proxy name in apiProxyName
    • API Proxy must exist in the project
  • Endpoint Name and Method:
    • endpointName is the endpoint path (e.g., “/users”), not including HTTP method
    • endpointHTTPMethod is the HTTP method (e.g., “GET”, “POST”, “PUT”, “DELETE”)
    • Use “ALL” for both endpointName and endpointHTTPMethod to apply to all endpoints
    • Both endpointName and endpointHTTPMethod are required for specific endpoints
  • Duplicate Handling:
    • Duplicate endpoints are ignored
    • No error is thrown for duplicates
  • RLCL Must Exist:
    • RLCL must exist before adding endpoints