---
title: "Set Domain Classification"
method: PUT
path: "/classifications/domain-assignments"
tags: ["Project"]
---

# Set Domain Classification

`PUT /classifications/domain-assignments`

Assign a built-in or custom classification to a domain (overriding any heuristic classification), or clear the assignment by passing null.

## Request body

- object
  - `project_id` string — Required if using a company api key
  - `domain` string, required — Domain to classify (any host or apex — the override applies at apex granularity)
  - `classification` string, nullable, required — Built-in classification (CORPORATE, EDITORIAL, INSTITUTIONAL, OTHER, REFERENCE, UGC, COMPETITOR, OWN, RELATED) or the name of a custom domain classification. Pass null to clear the assignment.

## Response `200`

Domain classification assignment updated

- object — Domain classification assignment updated

## Other responses

- `400` — Response for status 400
- `404` — Response for status 404

---

[API](https://skmtc.net/peec/apis/peec-ai-customer-api.md) · [All operations](https://skmtc.net/peec/apis/peec-ai-customer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/peec/peec-ai-customer-api/revisions/92840a1bffa7/schema)
