---
search:
  tags:
    - Account
    - POST
seo:
  description: >-
    Turns down an open invitation to your email address. The invitation stops…
    Reference for the POST /_luna/auth/invites/{id}/decline endpoint in the Luna
    API.
sidebar:
  label: Decline an invitation
  badge: POST
title: Decline an invitation
type: openapi-operation
---
Turns down an open invitation to your email address. The invitation stops working.

`POST /_luna/auth/invites/{id}/decline`

**Responses**

- `200` — The invitation is declined.
- `default` — The request failed. The status says how and \`error.message\` says why.

Response example, 200:

```json
{
  "ok": true
}
```
