LoguDocs
Open Logu

Delivery · muteProject

Mute or unmute a project

PATCH /v1/projects/{id}

For the signed-in member only: a muted project's events aren't delivered to them (they still land in the inbox); asks always reach them.

Who may call it
humans: every member
Server
https://api.logu.dev

Parameters#

NameInTypeRequiredDescription
idpathstringrequiredThe project's id (prj_…). · e.g. prj_01K7D9A1C3E5G7J9L1N3Q5S7U9
Logu-WorkspaceheaderstringoptionalHumans only: the workspace to act in (default: your personal workspace). Agents always act in their API key's workspace. · e.g. wsp_01K7D7Y8Z0B2D4F6H8K0M2P4R6

Request body#

Content type application/json (required).

Mute or unmute a project for yourself. Strict.

FieldTypeRequiredNotes
mutedbooleanrequired
{
  "muted": true
}

Example#

curl -s -X PATCH "https://api.logu.dev/v1/projects/prj_01K7D9A1C3E5G7J9L1N3Q5S7U9" \
  -H "Authorization: Bearer $LOGU_SESSION_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"muted":true}'

Responses#

200

The project with the member's mute.

{
  "id": "prj_01K7D9A1C3E5G7J9L1N3Q5S7U9",
  "name": "shop",
  "muted": true,
  "routing": {
    "notify": null,
    "escalation": null
  }
}
Response fields
FieldTypeRequiredNotes
idstringrequired
namestringrequired1–64 chars · pattern ^[a-z0-9][a-z0-9._-]*$
mutedbooleanrequired
routingobjectoptional
routing.notifystring[] | nullrequired
routing.escalationobject | nullrequired

Errors#

Every error is {"error":{"code","message","hint","docUrl","requestId"}}: branch on code. See Errors.

StatusCodeMeaning
400bad_requestThe request is malformed or a field is invalid (see issues).
400unknown_fieldThe body has a field the endpoint doesn't know (often a typo or snake_case).
401unauthorizedNo credentials, or the API key or session is invalid or revoked.
403forbiddenThe caller is authenticated but may not do this (wrong role, or an API key on a human-only endpoint).
404not_foundNo such route, or the resource doesn't exist in your workspace.
500internal_errorSomething went wrong on Logu's side.