---
title: "Decline Invitation"
method: POST
path: "/v1/invitations/{invitation_id}/decline"
tags: ["team-invitations"]
---

# Decline Invitation

`POST /v1/invitations/{invitation_id}/decline`

## Request

- Base URL: `https://api.pioneer.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pioneer.ai/v1/invitations/{invitation_id}/decline`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/pioneer/apis/brain-api/docs/v1/invitations/:invitation_id/decline/post.ts> (a function with typed inputs; its response is checked against the schema)

Decline an invitation.

Args:
    invitation_id: Invitation identifier.
    auth: Authenticated caller.
    service: Team service.

Returns:
    Decline confirmation.

Raises:
    HTTPException: If the identity email is unavailable.

## Path parameters

- `invitation_id` string, uuid, required

## Response `200`

Successful Response

- InvitationActionResponse: Response model for accepting or declining an invitation.
  - `success` boolean, required
  - `message` string, required
  - `invitation_id` string, required
  - `team_id` string, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-24** `0e5e86e2bae5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pioneer/apis/brain-api/changes/v1/invitations/:invitation_id/decline/post.md)

---

[API](https://skmtc.dev/pioneer/apis/brain-api.md) - [All operations](https://skmtc.dev/pioneer/apis/brain-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pioneer/apis/brain-api/revisions/0e5e86e2bae5?raw)
