/seats/:id/settings/:setting_slug

Updates a setting for a seat

Most common setting_slugs that can be updated for a seat are:

  • seat-reservation-max-length - A maximum length of a single reservation on this seat in ISO 8601 duration format. For example "PT2H" represents 2 hours.

  • seat-reservation-types-allowed - What kind of reservation types are allowed for this seat. Represented as a string array. Possible reservation types and their explanations are:
    hot - A short term reservation that goes at max to the end of the day.
    hoteled - A long term reservation that has a termination date.
    assigned - A long term reservation that doesn't have a termination date. Instead it's recurring forever on all days.
    shared - A long term reservation that is recurring on only specific days, not all days in a week.

    This endpoint will allow you to update allowed reservation types for a seat with only a single string value inside for all types that are not the shared type. So for example ["hot"] or ["hoteled"] or ["assigned"].
    For shared types, the array must have two elements. Either ["assigned", "shared"] or ["hoteled", "shared"].
    ["assigned", "shared"] - Means that this seat should have a recurring shared reservation on specific days, but on all the other days this desk is not reservable by others.
    ["hoteled", "shared"] - Means that this seat should have a recurring shared reservation on specific days, but on all the other days this desk is reservable by others.

Language
Authorization
Header
Click Try It! to start a request and see the response here!