Creating policies

A policy is a collection of rules that apply business logic on an API's request, response, or fault flow.

You can apply a policy on an API to perform tasks such as transport, security, logging, request routing, and data transformation.

In IBM API Studio, API developers can author policies by using two approaches:

  • Code view. Define policies in YAML format within the code editor.
  • Form view. Create and manage policies using a structured form-based UI.