Skip to navigation

Update Household Leslie Configuration

Available by Request

Enable or disable the Leslie integration for a specific household. Set enabled to false to disable Leslie, optionally supplying a disabledReason and a disabledUntil timestamp to define a quiet period. disabledUntil is only meaningful when enabled is false and must be a timestamp in the future. Note that disabledUntil is informational only: nothing automatically re-enables the integration when it elapses, but reads after that time will report effectiveEnabled: true even though enabled remains false until someone explicitly re-enables it.

This endpoint is part of our evolving API ecosystem. To explore availability for your integration, please contact our team.

Authentication

x-api-keystring
API Key authentication via header

Path parameters

householdIdstringRequiredformat: "uuid"
The id of the household

Request

This endpoint expects an object.
enabledbooleanRequired
Whether the Leslie integration should be enabled for this household.
disabledReasonstringOptional<=1000 characters

Optional reason for disabling the integration. Only meaningful when enabled is false.

disabledUntildatetimeOptional

Optional end of the quiet period. Only valid when enabled is false, and must be a future timestamp.

Response

Expected response to a valid request
idstring or nullOptionalformat: "uuid"
householdIdstringOptionalformat: "uuid"
enabledbooleanOptional
Whether the Leslie integration is enabled for this household.
effectiveEnabledbooleanOptional

The value integrations should act on. This accounts for any quiet period that has since ended, and may differ from the raw enabled value.

isInQuietPeriodbooleanOptional
Whether a disabled quiet period is currently active for this household.
disabledReasonstring or nullOptional<=1000 characters
disabledByIdstring or nullOptionalformat: "uuid"
disabledAtdatetime or nullOptional
disabledUntildatetime or nullOptional
createdAtdatetime or nullOptional
updatedAtdatetime or nullOptional
householdobjectOptional