v1

latestSwagger 2.02026-07-13181329.5 KB

Update an API token with the session object defined in the body, this operatin overwrites the existing object

put/tyk/keys/{keyId}

Path parameters

keyIdstring required

Access Token

Query parameters

suppress_resetnumber

Adding the suppress_reset parameter and setting it to 1, will cause Tyk to not reset the quota limit that is in the current live quota manager. By default Tyk will reset the quota in the live quota manager (initialising it) when ADDing a key. Adding the suppress_reset flag to the URL parameters will avoid this behaviour.

api_idstring string required

Back-end to target

Headers

x-tyk-authorizationstring string required

tyk gateway shared secret

Request body

allowancenumber
ratenumber
pernumber
expiresnumber
quota_maxnumber
quota_renewsnumber
quota_remainingnumber
quota_renewal_ratestring
access_rightsobject
org_idstring
meta_dataobject
oauth_client_idstring
hmac_enabledboolean
hmac_stringstring
is_inactiveboolean
apply_policy_idstring
tagsstring[]

Response

Key Updated Response