---
title: "POST /policies/reputation/"
method: POST
path: "/policies/reputation/"
tags: ["policies"]
---

# POST /policies/reputation/

`POST /policies/reputation/`

Reputation Policy Viewset

## Request body

- ReputationPolicyRequest — Reputation Policy Serializer
  - `name` string, required
  - `execution_logging` boolean — When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged.
  - `check_ip` boolean
  - `check_username` boolean
  - `threshold` integer

## Response `201`

- ReputationPolicy — Reputation Policy Serializer
  - `pk` string, uuid, required
  - `name` string, required
  - `execution_logging` boolean — When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged.
  - `component` string, required — Get object component so that we know how to edit the object
  - `verbose_name` string, required — Return object's verbose_name
  - `verbose_name_plural` string, required — Return object's plural verbose_name
  - `meta_model_name` string, required — Return internal model name
  - `bound_to` integer, required — Return objects policy is bound to
  - `check_ip` boolean
  - `check_username` boolean
  - `threshold` integer

## Other responses

- `400`
- `403`

---

[API](https://skmtc.dev/goauthentik/apis/authentik.md) · [All operations](https://skmtc.dev/goauthentik/apis/authentik/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goauthentik/authentik/revisions/4e42e86021d7/schema)
