Bookings

Rename, order, activate, or archive a workspace reason

Renames a reason, reorders it, or archives it with active: false. Archiving only hides it from the picker. Outcomes already recorded against it keep it.

API key scopes: bookings:write. You also need an Idempotency-Key header.

patch/api/bookings/outcome-reasons/{id}

Request

  • Base URL: https://api.setluca.com
  • URL: https://api.setluca.com/api/bookings/outcome-reasons/{id}
  • Auth: one of:
    • API key in cookie luca.session_token
    • API key in header x-api-key
    • HTTP bearer

Path parameters

idstring uuid required

Identifier of the outcome reason this operation targets.

Headers

Luca-API-Version'1'

The major version of the API this client was built against. Omit it and the request is served by the current major version. Any other value is refused with 400 unsupported_api_version.

Request body

labelstring
activeboolean
displayOrderinteger

Response

ok

Changes

No recorded changes to this operation across all 1 revision of this API.