v1

latestSwagger 2.02026-07-13181329.5 KB

Add a pre-specified API token with the session object defined in the body, this operatin creates a custom token that dsoes not use the gateway naming convention for tokens

post/tyk/keys/{keyId}

Path parameters

keyIdstring required

Access Token

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 Added Response