> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# DeleteFeedbackSession

# Package: feedback

# Namespace: FeedbackSessions

# Method link: https://dev.wix.com/docs/api-reference/account-level/studio-workspace/feedback/feedback-session-v1/delete-feedback-session.md

## Permission Scopes:
Manage Site Feedback: SCOPE.PARTNERS.FEEDBACK_MANAGE

## Introduction

Deletes a feedback session.

Comments left through the feedback session aren't deleted. To delete them, call [Delete Comment](https://dev.wix.com/docs/api-reference/account-level/studio-workspace/feedback/comment-v1/delete-comment.md).

---

## REST API

### Schema

```
 Method: deleteFeedbackSession
 Description: Deletes a feedback session.  Comments left through the feedback session aren't deleted. To delete them, call [Delete Comment](https://dev.wix.com/docs/api-reference/account-level/studio-workspace/feedback/comment-v1/delete-comment.md).
 URL: https://www.wixapis.com/partners/feedback/v1/feedback-sessions/{feedbackSessionId}
 Method: DELETE
 # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present.
 Required parameters:  feedbackSessionId
 Method parameters: 
   param name: feedbackSessionId | type:   none | required: true 
 Return type: DeleteFeedbackSessionResponse
  EMPTY-OBJECT {}


```

### Examples

### Delete Feedback Session
Deletes a feedback session. The comments left through it aren't deleted

```curl
curl -X DELETE \
'https://www.wixapis.com/partners/feedback/v1/feedback-sessions/8046df3c-7575-4098-a5ab-c91ad8f33c47' \
-H 'Authorization: <AUTH>'
```

---

## JavaScript SDK

### Schema

```
 Method: wixClientAdmin.feedback.feedbackSessions.deleteFeedbackSession(feedbackSessionId)
 Description: Deletes a feedback session.  Comments left through the feedback session aren't deleted. To delete them, call [Delete Comment](https://dev.wix.com/docs/api-reference/account-level/studio-workspace/feedback/comment-v1/delete-comment.md).
 # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present.
 Required parameters:  feedbackSessionId
 Method parameters: 
   param name: feedbackSessionId | type: string | description: GUID of the feedback session to delete. | required: true | validation: format GUID
 Return type: PROMISE<DeleteFeedbackSessionResponse>
  EMPTY-OBJECT {}


```

### Examples

### Delete a feedback session
Deletes a feedback session. The comments left through it aren't deleted

```javascript
import { feedbackSessions } from "@wix/feedback";

async function deleteFeedbackSession() {
  const response = await feedbackSessions.deleteFeedbackSession(
    "8046df3c-7575-4098-a5ab-c91ad8f33c47",
  );
}

```

### deleteFeedbackSession (self-hosted)
Self-hosted SDK calls require you to [create a client](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/about-the-wix-client.md).

```javascript
import { createClient } from '@wix/sdk';
import { feedbackSessions } from '@wix/feedback';
// Import the auth strategy for the relevant access type
// Import the relevant host module if needed

const myWixClient = createClient ({
  modules: { feedbackSessions },
  // Include the auth strategy and host as relevant
});


async function deleteFeedbackSession(feedbackSessionId) {
  const response = await myWixClient.feedbackSessions.deleteFeedbackSession(feedbackSessionId);
};
```

---