ResourceAccessRules
Update ResourceAccessRule
Update an existing ResourceAccessRule record.
PUT
Update ResourceAccessRule
Updates an existing ResourceAccessRule record. You must include the
Id of the record to update along with all required fields.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the ResourceAccessRule-Edit role.Enums
eCancellationFeeType — CancellationFeeType values
eCancellationFeeType — CancellationFeeType values
Request Body
Required Fields
Order in which this rule is evaluated relative to other rules on the same resource. Lower values are evaluated first.
How the cancellation fee is calculated: Absolute (fixed amount) or Percentage (of booking cost).
Optional Fields
List of specific resources this rule applies to. When empty and BusinessId is set, applies to all resources in that location and all child locations. When one or more resources are specified, applies only to those specific resources.
Minimum lead time (in hours) required before a booking can start. Prevents last-minute bookings.
Cut-off in minutes before the booking start time. Cancellations after this point are considered late and may incur a fee.
Minimum interval (in minutes) between consecutive bookings on this resource, used as a buffer for setup or cleaning.
Cooldown in minutes: prevents the same user from booking this specific resource again within this window after their last booking ends.
Cooldown in minutes: prevents the same user from booking any resource after booking this one, for the specified window.
Cooldown in minutes: prevents any user from booking this resource within the specified window after the previous booking ends.
List of pricing plans this rule applies to. When set, the rule only fires for customers on one of these plans.
Only customers on one of these pricing plans are allowed to book when the rule applies to them.
Specific customers this rule applies to. When set, the rule only fires for these customers.
Teams this rule applies to. When set, the rule only fires for members of one of these teams.
The rule applies only to customers who have attended (checked in to) an event in one of these categories.
Cancellation fee as a percentage of the booking cost. Used when CancellationFeeType is Percentage.
Maximum time span (in months) over which a recurring booking series can extend under this rule.
Children
Time slots defining when this rule applies (eligibility windows). The year, month and day component of FromTime/ToTime is always 1976-01-01.
The days and times the resources can be booked when this rule applies. The year, month and day component of FromTime/ToTime is always 1976-01-01.
Code Examples
Response
200
Example Response
400
Example Response