---
title: "Decline a team invite"
method: POST
path: "/invites/{token}/decline"
tags: ["Public", "Invites"]
---

# Decline a team invite

`POST /invites/{token}/decline`

## Request

- Base URL: `https://api.purplegrain.com/api/v1`
- URL: `https://api.purplegrain.com/api/v1/invites/{token}/decline`
- Auth: none declared

Public (unauthenticated) decline — the invitee says no. No one-time
code is required (the token is the credential and declining grants
nothing). The invite keeps its token: the owner can re-send it
(`POST /organization-roles/{organization_role_id}/resend-invite`), and
accepting off the original link still works while the invite is valid,
so a mistaken decline is recoverable.

## Path parameters

- `token` string, required

## Response `204`

Invite declined.

## Other responses

- `404`: Unknown, revoked or already-claimed invite.
- `422`: Invite is expired.

---

[API](https://skmtc.dev/purplegrain/apis/purple-grain-api.md) · [All operations](https://skmtc.dev/purplegrain/apis/purple-grain-api/llms.txt) · [OpenAPI document](https://skmtc.dev/purplegrain/apis/purple-grain-api/revisions/4bedbc1c784c?raw)
