---
title: "Enable Stats Collection"
method: PUT
path: "/layout/setenablestat/{layoutId}"
tags: ["layout"]
---

# Enable Stats Collection

`PUT /layout/setenablestat/{layoutId}`

Set Enable Stats Collection? to use for the collection of Proof of Play statistics for a Layout.

## Path parameters

- `layoutId` integer, required

## Response `204`

successful operation

---

[API](https://skmtc.net/xibosignage/apis/xibo-api.md) · [All operations](https://skmtc.net/xibosignage/apis/xibo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xibosignage/xibo-api/revisions/9136e3c2cb1d/schema)
