# Update a share

> Changes a share's cap, as its publisher. The next call through the share reads the new cap; a changed window starts a fresh count.

Changes a share's `cap`, as its publisher. The next call through the share reads the new cap; a changed `window` starts a fresh count.

  Request

<ParamsDetails
  {...require("./update-share.ParamsDetails.json")}
>

<RequestSchema
  {...require("./update-share.RequestSchema.json")}
>

<StatusCodes
  {...require("./update-share.StatusCodes.json")}
>
