Dozor
User

Decline a pending invite

Hard-delete (not a `DECLINED` status flip) — declined invites carry no audit value (admin-side list renders only PENDING rows) and the extra enum would buy nothing. If an admin still wants the user, they re-send.

POST/api/user/invites/{id}/decline

Hard-delete (not a DECLINED status flip) — declined invites carry no audit value (admin-side list renders only PENDING rows) and the extra enum would buy nothing. If an admin still wants the user, they re-send.

Path Parameters

id*string

Invite id (cuid)

Response Body

application/json

curl -X POST "https://loading/api/user/invites/string/decline"
{
  "ok": true
}
Empty
Empty
Empty