v1

latestOpenAPI 3.1.02026-07-2422707.0 MB

Cancel the membership of a guest

This API helps you to cancel the membership of a guest.

You must specify appropriate details for the guest_id and membership_id parameters in the API request.

Optionally, you can specify the necessary details for the cancellation_date and termination_date parameters in the API request body.

put/v1/guests/{guest_id}/memberships/{user_membership_id}/cancel

Path parameters

guest_idstring required

Mandatory Unique 32-character identifier of the guest.

membership_idstring required

Mandatory Unique 32-character identifier of the guest's membership.

Request body

cancellation_datestring date

Denotes the date when the membership was cancelled.

termination_datestring date

Denotes the date when the membership was terminated.

Response

200

{"stackTrail":"paths:/v1/guests/{guest_id}/memberships/{user_membership_id}/cancel:put:responses:200:content:application/json:schema:properties:error","oasType":"schema","type":"unknown"}