diff --git a/src/components/channel/existingChannel.js b/src/components/channel/existingChannel.js
index 98fc8dca4012a92fc0296907d6502194ef6549d7..f9f7d5a85f23b610195c4b25498961394668ecd3 100644
--- a/src/components/channel/existingChannel.js
+++ b/src/components/channel/existingChannel.js
@@ -46,7 +46,7 @@ const ExistingChannel=({isOpen, onClose, data})=>{
   const handleDeleteChannel = async () => {
     try {
   
-      const response = await fetch(`api/channels/${userData.userId}`, {
+      const response = await fetch(`api/channels/`, {
         method: 'DELETE',
         headers: {
           'Content-Type': 'application/json',