How to enable rateLimitHeaders via V3 API call?

How to enable rateLimitHeaders via V3 API call?

book

Article ID: KB0071412

calendar_today

Updated On:

Products Versions
TIBCO Cloud API Management -

Description

The fieldname to use in V3API call for the 'Rate Limit Headers' is "rateLimitHeadersEnabled"

Issue/Introduction

[To be Trashed. Duplication of 50957]]This article provides a sample call to enable this option for an endpoint.

Environment

All Supported Platforms

Resolution

Here is a sample call for your reference:
curl --location --request PUT 'https://api.mashery.com/v3/rest/services/<spkey>/endpoints/<epkey>' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"connectionTimeoutForSystemDomainRequest": 5,
"connectionTimeoutForSystemDomainResponse": 10,
"numberOfHttpRedirectsToFollow": 0,
"rateLimitHeadersEnabled": true
}'