POST api/Memberships/Resign
When a member leaves the club, you need call this method with the date the member resigns and an optional message/reason. It is not possible to delete memberships because the duration of the membership is used in other parts of the system.
Request Information
URI Parameters
None.
Body Parameters
MembershipResignDto| Name | Description | Type | Additional information |
|---|---|---|---|
| MembershipId |
ID of the membership (Guid) |
globally unique identifier |
Required |
| ResignedDate |
The date the member resigned from the membership |
date |
Required |
| ResignReason |
Optional field for information about why a membership is ending. |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"MembershipId": "4f3018fd-e9dc-41e7-9640-0f76471f681c",
"ResignedDate": "2026-11-04T14:30:10.0134904+01:00",
"ResignReason": "sample string 1"
}
application/xml, text/xml
Sample:
<MembershipResignDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models"> <MembershipId>4f3018fd-e9dc-41e7-9640-0f76471f681c</MembershipId> <ResignReason>sample string 1</ResignReason> <ResignedDate>2026-11-04T14:30:10.0134904+01:00</ResignedDate> </MembershipResignDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
MembershipDto| Name | Description | Type | Additional information |
|---|---|---|---|
| MembershipId |
ID of the membership (Guid) |
globally unique identifier |
None. |
| Name |
Name of the membership |
string |
None. |
| MemberTypeId |
ID of the membership type (Guid) |
globally unique identifier |
None. |
| SignupDate |
The date the member signed up to the membership |
date |
None. |
| ResignedDate |
The date the member resigned from the membership |
date |
None. |
Response Formats
application/json, text/json
Sample:
{
"MembershipId": "559379cc-d260-4b71-b9b4-83f89020af2e",
"Name": "sample string 2",
"MemberTypeId": "848388cd-19e8-4481-8f1f-6b2dbc8b2f7d",
"SignupDate": "2026-11-04T14:30:10.0134904+01:00",
"ResignedDate": "2026-11-04T14:30:10.0134904+01:00"
}
application/xml, text/xml
Sample:
<MembershipDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models"> <MemberTypeId>848388cd-19e8-4481-8f1f-6b2dbc8b2f7d</MemberTypeId> <MembershipId>559379cc-d260-4b71-b9b4-83f89020af2e</MembershipId> <Name>sample string 2</Name> <ResignedDate>2026-11-04T14:30:10.0134904+01:00</ResignedDate> <SignupDate>2026-11-04T14:30:10.0134904+01:00</SignupDate> </MembershipDto>
