# Pause huggingface API endpoint

**URL:** <https://discuss.huggingface.co/t/pause-huggingface-api-endpoint/58791>\
**Category:** 🤗Hub\
**Created:** [October 16, 2023, 9:00pm UTC](https://discuss.huggingface.co/t/pause-huggingface-api-endpoint/58791 "2023-10-16T21:00:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnzhang2](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@johnzhang2](https://discuss.huggingface.co/u/johnzhang2)\
**Post date:** [October 16, 2023, 9:00pm UTC](https://discuss.huggingface.co/t/pause-huggingface-api-endpoint/58791/1 "2023-10-16T21:00:21Z")

</div>

I can’t pause my endpoint in huggingface programmatically through the API.

---

<div class="post-metadata">

**Author:** ![daniel-ha](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/daniel-ha/32/27617_2.png) [@daniel-ha](https://discuss.huggingface.co/u/daniel-ha)\
**Post date:** [June 2, 2024, 7:56pm UTC](https://discuss.huggingface.co/t/pause-huggingface-api-endpoint/58791/2 "2024-06-02T19:56:56Z")

</div>

fr!!!  
I very much would like to know how to pause through API

---

<div class="post-metadata">

**Author:** ![nielsr](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/nielsr/32/39617_2.png) [@nielsr](https://discuss.huggingface.co/u/nielsr)\
**Post date:** [June 3, 2024, 2:01pm UTC](https://discuss.huggingface.co/t/pause-huggingface-api-endpoint/58791/3 "2024-06-03T14:01:24Z")

</div>

Hi,

This is supported now as seen here: [Inference Endpoints](https://huggingface.co/docs/huggingface_hub/en/guides/inference_endpoints#pause-or-scale-to-zero)
