# Decline Invitation

> Decline a pending invitation addressed to the current user.

Canonical URL: https://docs.botyard.io/docs/api/users/decline_invitation_v1_users_me_invitations__invitation_id__decline_post

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

Decline a pending invitation addressed to the current user.

404 when the invitation does not exist or is addressed to someone else;
409 when it is yours but no longer pending. Declining never creates a
membership, releases the seat the invitation reserved, and leaves the org
free to invite the same address again. The decline is recorded in the
inviting org's audit log.

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `invitation_id` | path | yes | string |  |

## Responses

| Status | Description | Body |
| --- | --- | --- |
| `200` | Successful Response | InvitationResponse |
| `default` | RFC 9457 Problem Details error response | ProblemDetails |

Full schemas: operation `decline_invitation_v1_users_me_invitations__invitation_id__decline_post` in the OpenAPI spec at https://api.botyard.io/openapi.json.
