Create a new API token with the session object defined in the body
post/tyk/keys/create
Request
- The document declares no server URL.
- Authnone declared. Required headers: x-tyk-authorization
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.
Headers
x-tyk-authorizationstring string required
tyk gateway shared secret
Request body
Response
Key Created Response
Changes
- breaking
added the new required
headerrequest parameterx-tyk-authorization
- breaking
- warning
deleted the
headerrequest parameterx-tyk-authorization
- warning