---
title: "Service: /members/{member}/declineinvitation [POST]"
source: https://dev.pageseeder.com/api/services/decline-invitation_post.html
description: "Decline an invitation to a group by membership ID. Authenticated members can decline their own invitations; administrators can decline on behalf of others. Returns declined status on success."
last_updated: 2026-09-08T13:56:57+10:00
document_type: api_endpoint
operation_id: membership-POST
resource_id: membership
path_template: /members/{member}/declineinvitation
http_method: POST
api_category: membership
implementation_version: 5.9900
api_since: 4.9100
deprecated_since: null
obsolete_since: null
api_support: supported
cache_control: N/A
generated_at: 2026-09-02
tokens: ~267
---

# /members/\{member\}/declineinvitation \[POST\]

## Description

Decline an invitation to a [group](../../reference/glossary/group.md).

## Parameters

| Name | Description | Required | Type | Default |
| --- | --- | --- | --- | --- |
| mfgid | The membership `ID` | yes | long |  |

###  `mfgid`

This required parameter is membership ID for the member. It must be a valid long value.

## Permission

An authenticated member can invoke this service and it must match the member specified in the URL as the membership object or be an administrator.

In other words, this service can only be used by a member to decline an invitation that they have received. It can also be used to decline an invitation on behalf of another member by an administrator.

## Response

When successful, it is always:

```xml

<invitation><status>declined</status></invitation>
```

## Error Handling

| Code | Cause / Description |
| --- | --- |
| 0x1012 | When the supplied membership ID (MemberForGroup id) is invalid |
| 0x1013 | When the member has already accepted the invitation |

