Delete Membership Advanced Booking Rule

This API soft-deletes a single membership advance booking rule by its rule_id, setting Void = 1 in tblMembershipAdvancedBookingRules. Triggered by the delete icon on each row in the "Previously Added Rules" table on the Advance Booking Windows admin settings page.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Response Details

DeleteMembershipAdvancedBookingRuleResponse

Json propertyData typeDescription
errorAPIV2ErrorModelError details. Returns null when the membership advance booking rule is deleted successfully.

APIV2ErrorModel

Json propertyData typeDescription
codestringError code indicating the type of failure.
messagestringDescription of the error.

Error Codes

Error CodeHTTP StatusDescription
GE002400 Bad RequestInvalid rule_id provided.
GE403403 ForbiddenUser does not have permission to access this resource.
GE404404 Not FoundMembership advance booking rule was not found or does not belong to the authenticated organization.
GE500500 Internal Server ErrorAn unexpected server error occurred while processing the request.
Path Params
string
required

Unique identifier of the membership advance booking rule to delete. Cannot be an empty GUID.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain