> 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

# DeletePartnerProfile

# Package: partners

# Namespace: PartnerProfiles

# Method link: https://dev.wix.com/docs/api-reference/account-level/partners/partner-profile-v1/delete-partner-profile.md

## Introduction

Deletes the partner profile of the currently authenticated partner. No profile ID is required, as the profile is identified by the caller's authenticated identity.

---

## REST API

### Schema

```
 Method: deletePartnerProfile
 Description: Deletes the partner profile of the currently authenticated partner. No profile GUID is required, as the profile is identified by the caller's authenticated identity.
 URL: https://www.wixapis.com/partners/profile/v1/partner-profiles
 Method: DELETE
 Return type: DeletePartnerProfileResponse
  EMPTY-OBJECT {}


```

---

## JavaScript SDK

### Schema

```
 Method: wixClientAdmin.partnerProfiles.partnerProfiles.deletePartnerProfile()
 Description: Deletes the partner profile of the currently authenticated partner. No profile GUID is required, as the profile is identified by the caller's authenticated identity.
 Return type: PROMISE<DeletePartnerProfileResponse>
  EMPTY-OBJECT {}


```

### Examples

### deletePartnerProfile
```javascript
import { partnerProfiles } from '@wix/partner-profiles';

async function deletePartnerProfile() {
  const response = await partnerProfiles.deletePartnerProfile();
};
```

### deletePartnerProfile (with elevated permissions)
```javascript
import { partnerProfiles } from '@wix/partner-profiles';
import { auth } from '@wix/essentials';

async function myDeletePartnerProfileMethod() {
  const elevatedDeletePartnerProfile = auth.elevate(partnerProfiles.deletePartnerProfile);
  const response = await elevatedDeletePartnerProfile();
}
```

### deletePartnerProfile (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 { partnerProfiles } from '@wix/partner-profiles';
// Import the auth strategy for the relevant access type
// Import the relevant host module if needed

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


async function deletePartnerProfile() {
  const response = await myWixClient.partnerProfiles.deletePartnerProfile();
};
```

---