# Set security policies through the API




You can use F5 NGINX One Console API to manage security policies. With our API, you can:

- [List existing policies](/nginx-one-console/api/api-reference-guide/#operation/listNapPolicies)
  - You can set parameters to sort policies by type.
- [Create a new policy](/nginx-one-console/api/api-reference-guide/#operation/createNapPolicy)
  - You need to translate the desired policy.json file to base64 format.
- [Get policy details](/nginx-one-console/api/api-reference-guide/#operation/getNapPolicy)
  - Returns details of the policy you identified with the policy `object_id`.
- [List F5 WAF for NGINX Deployments](/nginx-one-console/api/api-reference-guide/#operation/listNapPolicyDeployments)
  - The output includes:
    - Target of the deployment
    - Time of deployment
    - Enforcement mode
    - Policy version
    - Threat campaign
    - Attack signature
    - Bot signature

