Documentation

Toggle Email Digests for Project

POST /projects/{project_id}/emails

Toggles email digests on or off for a specific project.

Path Parameters

Parameter Type Required Description
project_id string Yes Project ID for which to toggle email digests

Request Body

Field Type Required Description
value boolean Yes Whether to enable or disable email digests

Response

Success Response (200 OK)

data contains the updated project and caller’s role information. This changes the authenticated caller’s digest setting for their project membership.

Error Responses

  • 400 Bad Request: Invalid request
  • 422 Unprocessable Entity: Request fields fail schema validation
  • 401 Unauthorized: Authentication failed
  • 403 Forbidden: User does not have permission to toggle email digests for this project
  • 404 Not Found: Project with the specified ID does not exist

See the Projects API overview for related endpoints.