---
title: "POST /email-domains/{id}/projects/{project_id}"
method: POST
path: "/email-domains/{id}/projects/{project_id}"
tags: ["Email Domains"]
---

# POST /email-domains/{id}/projects/{project_id}

`POST /email-domains/{id}/projects/{project_id}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/email-domains/{id}/projects/{project_id}`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required
- `project_id` integer, required

## Response `204`

Project authorized

## Other responses

- `401`: Unauthorized
- `403`: Only an instance or platform administrator may change global sender-domain grants
- `404`: Domain or project not found
- `500`: Project access, audit, or database check failed

## Changes

- **2026-09-07** `cdc1afae1752`: 1 info
  - endpoint added
- **2026-09-07** `f7404eb7ac98`: 1 breaking
  - api path removed without deprecation
- **2026-08-20** `e44b3af8c6ed`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/email-domains/:id/projects/:project_id/post.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
