cURL
curl --request POST \ --url https://{tenant}/tyk/keys/policy/{keyID} \ --header 'Content-Type: application/json' \ --header 'X-Tyk-Authorization: <api-key>' \ --data ' { "apply_policies": [ "5ead7120575961000181867e" ], "policy": "" } '
{ "action": "updated", "key": "5e9d9544a1dcd60001d0ed207eb558517c3c48fb826c62cc6f6161eb", "status": "ok" }
This will set policies to a hashed key.
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
Name to give the custom key.
Updated hashed key.
"modified"
"b13d928b9972bd18"
"ok"
Was this page helpful?
Contact support