...
Method | API Endpoint | Description |
DELETE | /api/v{version}/membership | Cancels an existing membership at club level as well as from branch level (sports). If branchId is passed in the request then the API cancels branch level membership, otherwise it cancels the Club level membership.
Allidrett: Allidrett memberships (group level) can be cancelled using this API. Pass the allidrett groupID groupId to cancel the allidrett group membership. Today’s date will be passed set as end date EndDate for canceled memberships. |
...
| Name | Required | Description |
1 | ClubId | Yes | Club Id ClubId for which API is being requested |
2 | Authorization | Yes | This will be the token to define access for on-boarded club. |
3 | Ocp-Apim-Subscription-Key | Yes | API management’s subscription key. There will be separate key for each 3.party. |
...
| Name | Required | Description | Example |
1 | PersonId | Mandatory | Person IdPersonId | 5347891 |
2 | BranchId | Optional | If Branch Id BranchId is passed in the request then the API cancels the branch level membership, otherwise it cancels the Club level membership. | 1238 |
3 | IsClubLevel | Optional | If true, the system deletes club level membership, and Branch Id BranchId should not be passed.
| True
|
4 | GroupId | Optional | If group Id groupId is passed in the request then the API cancels the group level membership, otherwise it cancels the Club level membership. | 1238 |
...