cURL
curl --request PUT \ --url https://{tenant}/tyk/oauth/clients/{apiID}/{keyName}/rotate \ --header 'X-Tyk-Authorization: <api-key>'
{ "client_id": "2a06b398c17f46908de3dffcb71ef87df", "description": "google client", "meta_data": { "user_id": "362b3fb9a1d5e4f00017226f5" }, "redirect_uri": "https://httpbin.org/ip", "secret": "MmQwNTI5NGQtYjU0YS00NjMyLWIwZjktNTZjY2M1ZjhjYWY0" }
Generate a new secret
Documentation IndexFetch the complete documentation index at: https://tyk.io/docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://tyk.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Api key
The API id
The Client ID
New secret has been created
"keyless"
"2a06b398c17f46908de3dffcb71ef87b"
"google client login"
Show child attributes
"https://httpbin.org/ip"
"MmQwNTI5NGQtYjU0YS00NjMyLWIwZjktNTZjY2M1ZjhjYWY0"
Was this page helpful?
Contact support