Keys

Set policies for a hashed key.

This will set policies to a hashed key.

post/tyk/keys/policy/{keyID}

Path parameters

keyIDstring required

Name to give the custom key.

Request body

apply_policiesstring[] nullable
policystring

Response

Updated hashed key.

actionstring
keystring
key_hashstring
statusstring

Example response

{
  "action": "modified",
  "key": "b13d928b9972bd18",
  "status": "ok"
}

Changes

Changed in 2 of the 52 revisions of this API.11