# Can an edge server be configured to block a stream and then unblocked using a curl command?

**URL:** <https://community.wowza.com/t/can-an-edge-server-be-configured-to-block-a-stream-and-then-unblocked-using-a-curl-command/52488>\
**Category:** Wowza Streaming Engine\
**Created:** [December 14, 2018, 6:04pm UTC](https://community.wowza.com/t/can-an-edge-server-be-configured-to-block-a-stream-and-then-unblocked-using-a-curl-command/52488 "2018-12-14T18:04:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guillermo\_Bueno](https://avatars.discourse-cdn.com/v4/letter/g/f1d935/32.png) [@Guillermo\_Bueno](https://community.wowza.com/u/Guillermo_Bueno)\
**Post date:** [December 14, 2018, 6:04pm UTC](https://community.wowza.com/t/can-an-edge-server-be-configured-to-block-a-stream-and-then-unblocked-using-a-curl-command/52488/1 "2018-12-14T18:04:01Z")

</div>

I currently have an origin server that is giving the video to the edge server. I have Client A pulling video from the origin while Client B is pulling from the edge. Can I temporarily block Client B from receiving a stream while not affecting Client A’s ability to see it using a curl command to the REST API?

I have tried disconnecting the stream file on the edge server as illustrated in the link below but, it does not remove the stream from the incoming streams and I am still able to see the stream (video) with Client B.

Stream files are configured as liverepeaters on the edge server and rtp on the origin server for media caster type.

[https://www.wowza.com/docs/stream-management-query-examples#disconnectstreamfile](https://www.wowza.com/docs/stream-management-query-examples#disconnectstreamfile)

If I disconnect the stream on the origin side I do not see the stream on both Client A and Client B side. I want to be clear I am trying to temporarily block Client B only and later reconnect the stream.

Thank you for your help.
